he2802 1 年之前
父节点
当前提交
8584cea3ac

+ 1 - 1
zhongzheng-system/src/main/java/com/zhongzheng/modules/user/service/impl/UserLoginErrorServiceImpl.java

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