|
@@ -52,7 +52,7 @@ public class SmsCodeLoginRateLimitStrategy extends CustomRedisBasedRateLimitStra
|
|
|
@Override
|
|
@Override
|
|
|
public void performRateLimitCheck(UseRateLimit annotation, JoinPoint point) {
|
|
public void performRateLimitCheck(UseRateLimit annotation, JoinPoint point) {
|
|
|
String mobile = this.currentClientMobile(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);
|
|
RedisConstant.SMS_CODE_LOGIN_FAILED_END_DATETIME_PREFIX + mobile);
|
|
|
}
|
|
}
|
|
|
|
|
|