update 增加获取方法

This commit is contained in:
2021-06-01 09:52:21 +08:00
parent 0c351de9ec
commit 8abe663744
2 changed files with 43 additions and 7 deletions

View File

@@ -1,4 +1,5 @@
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Ewide.Core
{
@@ -10,7 +11,11 @@ namespace Ewide.Core
SysUser User { get; }
string UserId { get; }
Task<SysUser> CheckUserAsync(string userId, bool tracking = true);
Task<SysUser> CheckUserAsync();
Task<SysUser> CheckUserAsync(string userId);
Task<SysEmp> GetUserEmpInfo();
Task<SysEmp> GetUserEmpInfo(string userId);
Task<List<string>> GetUserRoleIdList();
Task<List<string>> GetUserRoleIdList(string userId);
}
}