Commit cb210887 authored by killer's avatar killer

fix lock

parent 5e3ec8d1
...@@ -623,7 +623,7 @@ public class UserController implements IBaseController { ...@@ -623,7 +623,7 @@ public class UserController implements IBaseController {
//查询用户 //查询用户
User user = userService.findByUuidInDb(userId); User user = userService.findByUuidInDb(userId);
if (Objects.isNull(user) || UserStatusEnum.isDisable(user).getKey()) { if (Objects.isNull(user) || UserStatusEnum.isDisable(user).getKey()) {
log.error("用户不存在,或者已经注销,userId:{}", userId); log.error("用户不存在,或者已经冻结注销,userId:{}", userId);
return JsonResult.buildErrorStateResult("登录失败", null); return JsonResult.buildErrorStateResult("登录失败", null);
} else if (!wechatRelateUserIfNecessary(user, request)) { } else if (!wechatRelateUserIfNecessary(user, request)) {
return JsonResult.buildErrorStateResult("登录时微信关联失败", null); return JsonResult.buildErrorStateResult("登录时微信关联失败", null);
......
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