登录注册接口拆分

This commit is contained in:
张松
2025-01-14 11:24:39 +08:00
parent 22183c1742
commit 36d651da85
2 changed files with 3 additions and 6 deletions

View File

@@ -208,8 +208,5 @@ public class UserEntity implements Serializable {
private Integer vipType; private Integer vipType;
public UserEntity getDesensitizationInfo() {
this.setPassword(null);
return this;
}
} }

View File

@@ -915,7 +915,7 @@ public class UserServiceImpl extends ServiceImpl<UserDao, UserEntity> implements
} }
userInfo.setUpdateTime(DateUtil.date().toString()); userInfo.setUpdateTime(DateUtil.date().toString());
baseMapper.updateById(userInfo); baseMapper.updateById(userInfo);
return getResult(userInfo.getDesensitizationInfo()); return getResult(userInfo);
} }
@Override @Override
@@ -972,7 +972,7 @@ public class UserServiceImpl extends ServiceImpl<UserDao, UserEntity> implements
if (userEntity != null) { if (userEntity != null) {
inviteService.saveBody(userInfo.getUserId(), userEntity); inviteService.saveBody(userInfo.getUserId(), userEntity);
} }
return getResult(userInfo.getDesensitizationInfo()); return getResult(userInfo);
} }
@Override @Override