登录注册接口拆分
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user