This commit is contained in:
雷欧(林平凡)
2025-07-29 16:04:54 +08:00
parent 5a412dc22e
commit 3edd22705e
7 changed files with 15 additions and 26 deletions

View File

@@ -1,9 +1,5 @@
package cn.van333.wxsend.aop.aspectj;
import java.lang.reflect.Method;
import java.util.Collections;
import java.util.List;
import cn.van333.wxsend.aop.annotation.RateLimiter;
import cn.van333.wxsend.enums.LimitType;
import cn.van333.wxsend.exception.ServiceException;
@@ -20,6 +16,10 @@ import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.core.script.RedisScript;
import org.springframework.stereotype.Component;
import java.lang.reflect.Method;
import java.util.Collections;
import java.util.List;
/**
* 限流处理