登录claim增加昵称,signalr去除不必要的消息

This commit is contained in:
2023-09-25 10:38:11 +08:00
parent ee9f6bacf3
commit cacb525b3a
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -34,6 +34,7 @@ namespace Infrastructure.Model
{
UserId = info.UserId;
UserName = info.UserName;
NickName = info.NickName;
DeptId = info.DeptId;
Roles = roles;
RoleIds = roles.Select(f => f.RoleKey).ToList();