返回用户简称
continuous-integration/drone/push Build is passing Details

Uat_IRC_Net8
hang 2024-12-23 16:45:53 +08:00
parent d1bf517aa7
commit e9bafe9e38
2 changed files with 16 additions and 13 deletions

View File

@ -49,6 +49,8 @@ namespace IRaCIS.Application.Contracts
public UserTypeEnum UserType { get; set; }
public string UserTypeShortName { get; set; }
public bool IsUserRoleDisabled { get; set; }
[Comment("多账号信息是否已经确认")]

View File

@ -141,7 +141,8 @@ namespace IRaCIS.Core.Application.Service
CreateMap<UserBasicInfo, UserTokenInfo>()
.ForMember(d => d.UserRoleId, c => c.MapFrom(t => t.Id));
CreateMap<User, UserAccountInfo>();
CreateMap<User, UserAccountInfo>()
.ForMember(d => d.UserTypeShortName, c => c.MapFrom(t => t.UserTypeRole.UserTypeShortName));
}
}