登录注册接口拆分
This commit is contained in:
parent
22183c1742
commit
36d651da85
|
|
@ -208,8 +208,5 @@ public class UserEntity implements Serializable {
|
|||
private Integer vipType;
|
||||
|
||||
|
||||
public UserEntity getDesensitizationInfo() {
|
||||
this.setPassword(null);
|
||||
return this;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -915,7 +915,7 @@ public class UserServiceImpl extends ServiceImpl<UserDao, UserEntity> implements
|
|||
}
|
||||
userInfo.setUpdateTime(DateUtil.date().toString());
|
||||
baseMapper.updateById(userInfo);
|
||||
return getResult(userInfo.getDesensitizationInfo());
|
||||
return getResult(userInfo);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
@ -972,7 +972,7 @@ public class UserServiceImpl extends ServiceImpl<UserDao, UserEntity> implements
|
|||
if (userEntity != null) {
|
||||
inviteService.saveBody(userInfo.getUserId(), userEntity);
|
||||
}
|
||||
return getResult(userInfo.getDesensitizationInfo());
|
||||
return getResult(userInfo);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Reference in New Issue