|
@@ -95,7 +95,7 @@ public class UserLoginErrorServiceImpl extends ServiceImpl<UserLoginErrorMapper,
|
|
|
lqwExam.eq(UserLoginError::getDate, DateUtils.getTodayZeroTime());
|
|
lqwExam.eq(UserLoginError::getDate, DateUtils.getTodayZeroTime());
|
|
|
Integer count = baseMapper.selectCount(lqwExam);
|
|
Integer count = baseMapper.selectCount(lqwExam);
|
|
|
if(count>=5){
|
|
if(count>=5){
|
|
|
- throw new CustomException("今天你的错误次数已超过5次,请明天再登录");
|
|
|
|
|
|
|
+ // throw new CustomException("今天你的错误次数已超过5次,请明天再登录");
|
|
|
}
|
|
}
|
|
|
return true;
|
|
return true;
|
|
|
}
|
|
}
|