Commit 89d22a29 authored by 董建华's avatar 董建华

调整阈值便于测试

parent 69fad0dd
...@@ -156,7 +156,7 @@ public interface Constants { ...@@ -156,7 +156,7 @@ public interface Constants {
/** /**
* 账号密码错误锁定时间 30分钟 * 账号密码错误锁定时间 30分钟
*/ */
Long PASSWORD_ERROR_LOCK_TIME = 30L; Long PASSWORD_ERROR_LOCK_TIME = 5L;
/** /**
* 密码错误次数过多锁定key前缀 * 密码错误次数过多锁定key前缀
*/ */
......
...@@ -68,7 +68,7 @@ public class LoginInterceptorAspect { ...@@ -68,7 +68,7 @@ public class LoginInterceptorAspect {
static { static {
DEVICE_REFUSE_STRATEGY.put(Device.ANDROID, 3L); DEVICE_REFUSE_STRATEGY.put(Device.ANDROID, 3L);
DEVICE_REFUSE_STRATEGY.put(Device.IOS, 3L); DEVICE_REFUSE_STRATEGY.put(Device.IOS, 7L);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment