Commit 5bf9e69352b7e49770ec26a18264db6f83facf5c

Authored by zhangrui
1 parent 0be4fe4ad6

bug fix

Showing 1 changed file with 1 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/UsersController.java View file @ 5bf9e69
... ... @@ -860,7 +860,7 @@
860 860  
861 861  
862 862 // LoginContext loginContext = LoginUtil.register(users.getLogincenterId().toString(), phone, account, MD5Utils.md5(password).toUpperCase(), token, typeId);
863   - LoginContext loginContext = iSessionProvider.register(users.getLogincenterId().toString(), phone, account, MD5Utils.md5(password).toUpperCase());
  863 + LoginContext loginContext = iSessionProvider.register(users.getLogincenterId().toString(), phone, account, StringUtils.isNotBlank(password) ? MD5Utils.md5(password).toUpperCase() : null);
864 864 //0 成功 4009 已注册
865 865 if(loginContext.getErrorcode().equals(0) || loginContext.getErrorcode().equals(4009)) {
866 866 users.setPhone(phone);