Преглед на файлове

修改:<短信验证码登录过滤器>

zhangxufeng преди 4 дни
родител
ревизия
9c3c6fde28
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/main/java/com/jtzx/crm/module/api/ratelimit/SmsCodeLoginRateLimitStrategy.java

+ 1 - 1
src/main/java/com/jtzx/crm/module/api/ratelimit/SmsCodeLoginRateLimitStrategy.java

@@ -52,7 +52,7 @@ public class SmsCodeLoginRateLimitStrategy extends CustomRedisBasedRateLimitStra
     @Override
     public void performRateLimitCheck(UseRateLimit annotation, JoinPoint point) {
         String mobile = this.currentClientMobile(point);
-        super.performRateLimitCheck(annotation, point,mobile,this.rateLimitedExceptionSupplier(),
+        super.performRateLimitCheck(annotation, point,mobile,this.rateLimitedExceptionSupplier(annotation,point,mobile),
                 RedisConstant.SMS_CODE_LOGIN_FAILED_END_DATETIME_PREFIX + mobile);
     }