修改映射
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
083090ca05
commit
dedb1c152f
|
|
@ -84,7 +84,6 @@ namespace IRaCIS.Application.Contracts
|
||||||
{
|
{
|
||||||
public Guid IdentityUserId { get; set; }
|
public Guid IdentityUserId { get; set; }
|
||||||
|
|
||||||
public Guid UserRoleId { get; set; }
|
|
||||||
|
|
||||||
public bool IsMutiAccount => AccountList?.Count > 1;
|
public bool IsMutiAccount => AccountList?.Count > 1;
|
||||||
public List<UserAccountInfo> AccountList { get; set; }
|
public List<UserAccountInfo> AccountList { get; set; }
|
||||||
|
|
|
||||||
|
|
@ -138,7 +138,8 @@ namespace IRaCIS.Core.Application.Service
|
||||||
|
|
||||||
CreateMap<UserCommand, IdentityUser>();
|
CreateMap<UserCommand, IdentityUser>();
|
||||||
|
|
||||||
CreateMap<IdentityUser, UserBasicInfo>();
|
CreateMap<IdentityUser, UserBasicInfo>()
|
||||||
|
.ForMember(d => d.IdentityUserId, c => c.MapFrom(t => t.Id));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue