Commit c48f1ff7 by zhangyu

登陆修改

parent 2b987f30
......@@ -153,7 +153,8 @@ public class UserController {
redisUtils.incrNotResetExpireTime("black_username:"+loginBean.getLoginName(), indexDb);
}
if (blackUsername!=null){
if (redisUtils.get("black_username:" + loginBean.getLoginName(), indexDb)!=null){
responseBean.setStatus(ErrorCode.STATUS_CODE_4101);
responseBean.setMessage("该帐号已禁止登录");
checkIpLimit(userIp);
......
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