he2802 há 1 ano atrás
pai
commit
9632d2c0ab

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

@@ -108,6 +108,7 @@ public class UserLoginErrorServiceImpl extends ServiceImpl<UserLoginErrorMapper,
             if(Validator.isNotEmpty(objectJson)&&objectJson.containsKey("other")){
                 JSONObject jsonObject = objectJson.getJSONObject("other");
                 Integer maxCount = jsonObject.getInteger("loginLimit");
+                log.error("登录错误"+count+"EE"+maxCount);
                 if(maxCount>0&&count>=maxCount){
                     throw new CustomException("今天你的错误次数已超过"+maxCount+"次,请明天再登录");
                 }