|
|
@@ -110,7 +110,9 @@ public class DefaultAccountOperator implements IAccountOperator {
|
|
|
public AccountInfoVO getAccountInfo() {
|
|
|
LoginUser<Long> loginUser = SecurityUtil.getLoginUser();
|
|
|
SysUser sysUser = sysUserService.getById(loginUser.getId());
|
|
|
- return BeanUtil.copyProperties(sysUser, AccountInfoVO.class);
|
|
|
+ AccountInfoVO accountInfoVO = BeanUtil.copyProperties(sysUser, AccountInfoVO.class);
|
|
|
+ accountInfoVO.setRealName(sysUser.getNickname());
|
|
|
+ return accountInfoVO;
|
|
|
}
|
|
|
|
|
|
@Override
|