Commit 7eaebcb4 authored by 董建华's avatar 董建华

加点日志

parent 3eae4742
......@@ -145,7 +145,8 @@ public class LockIpv4ServiceImpl implements ILockIpv4Service {
if (!isLock) {
stringRedisTemplate.opsForValue().set(lock_key, "lock", Constants.PASSWORD_ERROR_LOCK_TIME, TimeUnit.MINUTES);
}
}else if(count > Constants.PASSWORD_ERROR_LOCK_COUNT){
log.warn("连续登录失败超过阈值锁半个小时count:{} ,phone:{}", count, phone);
} else if (count > Constants.PASSWORD_ERROR_LOCK_COUNT) {
/**
* 如果超过阈值再进来则说明过了限制时间,解锁清楚次数
*/
......
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