This commit is contained in:
16
Api/Dilon.Core/Manager/IUserManager.cs
Normal file
16
Api/Dilon.Core/Manager/IUserManager.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Dilon.Core
|
||||
{
|
||||
public interface IUserManager
|
||||
{
|
||||
string Account { get; }
|
||||
string Name { get; }
|
||||
bool SuperAdmin { get; }
|
||||
SysUser User { get; }
|
||||
long UserId { get; }
|
||||
|
||||
Task<SysUser> CheckUserAsync(long userId, bool tracking = true);
|
||||
Task<SysEmp> GetUserEmpInfo(long userId);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user