@ -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.setUsername(user.getNickName());
loginUser.setOpenid(openid);
@ -97,6 +97,11 @@ public class LoginUser implements Serializable {
*/
private String username;
/**
* 用户昵称
private String nickname;
* 角色对象