mirror of https://gitee.com/stylefeng/roses
commit
199c1107e0
|
@ -52,6 +52,13 @@ public class IndexUserInfoV3 {
|
|||
@ChineseDescription("账号")
|
||||
private String username;
|
||||
|
||||
/**
|
||||
* 姓名
|
||||
*/
|
||||
@ChineseDescription("姓名")
|
||||
private String realName;
|
||||
|
||||
|
||||
/**
|
||||
* 昵称
|
||||
*/
|
||||
|
|
|
@ -68,6 +68,9 @@ public class IndexUserInfoServiceImpl implements IndexUserInfoService {
|
|||
// 设置用户id
|
||||
indexUserInfoV3.setUserId(loginUser.getUserId());
|
||||
|
||||
// 设置用户姓名
|
||||
indexUserInfoV3.setRealName(loginUser.getSimpleUserInfo().getRealName());
|
||||
|
||||
// 设置用户账号
|
||||
indexUserInfoV3.setUsername(loginUser.getAccount());
|
||||
|
||||
|
|
Loading…
Reference in New Issue