Commit 01bf0f830293aa11cae6910986fda5af1ffd0f9e
1 parent
c6d8ad33da
Exists in
master
and in
1 other branch
增加
Showing 1 changed file with 3 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/UsersController.java
View file @
01bf0f8
... | ... | @@ -716,8 +716,9 @@ |
716 | 716 | users.setLastLoginTime(new Date()); |
717 | 717 | // users.setPwd(LoginUtil.md5(NumberUtils.getRandomString(6))); |
718 | 718 | |
719 | - LoginContext loginContext = null; | |
720 | - | |
719 | + LoginContext loginContext = new LoginContext(); | |
720 | + loginContext.setErrorcode(ErrorCodeConstants.PARAMETER_ERROR); | |
721 | + loginContext.setErrormsg("系统错误"); | |
721 | 722 | //关联登录中心ID |
722 | 723 | if(StringUtils.isNotBlank(phone) || StringUtils.isNotBlank(account)) { |
723 | 724 | /**/ String pwd = null; |