VerifyAnonymousVerifyCode增加用户类型
This commit is contained in:
@@ -182,6 +182,8 @@ namespace IRaCIS.Application.Contracts
|
|||||||
public string UserName { get; set; } = string.Empty;
|
public string UserName { get; set; } = string.Empty;
|
||||||
|
|
||||||
public string UserRealName { get; set; } = string.Empty;
|
public string UserRealName { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
public string UserType { get; set; } = string.Empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
public class UserListQueryDTO : PageInput
|
public class UserListQueryDTO : PageInput
|
||||||
|
|||||||
@@ -247,7 +247,7 @@ namespace IRaCIS.Application.Services
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var list = await _userRepository.Where(t => t.EMail == email).Select(t => new UserAccountDto() { UserId = t.Id, UserName = t.UserName, UserRealName = t.LastName + " / " + t.FirstName }).ToListAsync();
|
var list = await _userRepository.Where(t => t.EMail == email).Select(t => new UserAccountDto() { UserId = t.Id, UserName = t.UserName, UserRealName = t.LastName + " / " + t.FirstName,UserType = t.UserTypeRole.UserTypeShortName}).ToListAsync();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user