refactor: 个人中心个人信息完善

This commit is contained in:
ray
2024-08-16 18:20:54 +08:00
parent 6c6a4c6e34
commit 13156e9440
5 changed files with 44 additions and 2 deletions

View File

@@ -248,7 +248,7 @@ public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> impl
*/
@Override
public UserProfileVO getUserProfile(Long userId) {
SysUser entity = this.getById(userId);
UserBO entity = this.baseMapper.getUserProfile(userId);
return userConverter.toProfileVO(entity);
}