update 优化 登录用户增加昵称返回

feature/model
疯狂的狮子Li 1 year ago
parent 49f20f7d9f
commit 58e7849fc4

@ -140,6 +140,7 @@ public class SysLoginService {
loginUser.setUserId(user.getUserId());
loginUser.setDeptId(user.getDeptId());
loginUser.setUsername(user.getUserName());
loginUser.setNickname(user.getNickName());
loginUser.setUserType(user.getUserType());
loginUser.setMenuPermission(permissionService.getMenuPermission(user.getUserId()));
loginUser.setRolePermission(permissionService.getRolePermission(user.getUserId()));

@ -52,6 +52,7 @@ public class XcxAuthStrategy implements IAuthStrategy {
loginUser.setTenantId(user.getTenantId());
loginUser.setUserId(user.getUserId());
loginUser.setUsername(user.getUserName());
loginUser.setUsername(user.getNickName());
loginUser.setUserType(user.getUserType());
loginUser.setOpenid(openid);

@ -97,6 +97,11 @@ public class LoginUser implements Serializable {
*/
private String username;
/**
*
*/
private String nickname;
/**
*
*/

Loading…
Cancel
Save