|
@@ -106,6 +106,7 @@ public class UserCloudServiceProvider extends ControllerSupport implements UserC
|
|
|
userEntity.setLoginName(loginName);
|
|
|
userEntity.setRootOrgId(rootOrgId);
|
|
|
userEntity.setName(name);
|
|
|
+ userEntity.setPhoneNumber(req.getPhoneNumber());
|
|
|
if (StringUtils.isBlank(req.getPassword())) {
|
|
|
userEntity.setPassword(ByteUtil.toHexAscii(SHA256.encode(userEntity.getLoginName() + BasicConsts.DEFAULT_PASSWORD)));
|
|
|
} else {
|
|
@@ -328,6 +329,7 @@ public class UserCloudServiceProvider extends ControllerSupport implements UserC
|
|
|
userBean.setDisplayName(userEntity.getLoginName() + " (" + userEntity.getName() + ")");
|
|
|
userBean.setOrgId(userEntity.getOrgId());
|
|
|
userBean.setRootOrgId(userEntity.getRootOrgId());
|
|
|
+ userBean.setPhoneNumber(userEntity.getPhoneNumber());
|
|
|
|
|
|
if (!userBean.getRootOrgId().equals(rootOrgId)) {
|
|
|
throw new StatusException("008003", "params error");
|