This commit is contained in:
@@ -15,9 +15,9 @@ namespace Dilon.Core
|
||||
private readonly IRepository<SysEmp> _sysEmpRep; // 员工表
|
||||
private readonly IHttpContextAccessor _httpContextAccessor;
|
||||
|
||||
public long UserId
|
||||
public string UserId
|
||||
{
|
||||
get => long.Parse(_httpContextAccessor.HttpContext.User.FindFirst(ClaimConst.CLAINM_USERID)?.Value);
|
||||
get => _httpContextAccessor.HttpContext.User.FindFirst(ClaimConst.CLAINM_USERID)?.Value;
|
||||
}
|
||||
|
||||
public string Account
|
||||
|
||||
Reference in New Issue
Block a user