he2802 1 년 전
부모
커밋
8584cea3ac
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      zhongzheng-system/src/main/java/com/zhongzheng/modules/user/service/impl/UserLoginErrorServiceImpl.java

+ 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;
     }