using System; using GxPress.EnumConst; namespace GxPress.Auth { /// /// 登录用户上下文 /// public interface ILoginContext { /// /// 账户id /// int AccountId { get; } int DepartmentId { get; } /// /// 账户类型 /// AccountTypeConst AccountType { get; } /// /// 获取当前用户IP /// string Ip { get; } string Name { get; } } }