You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using DS.Module.Core;
|
|
|
|
|
|
|
|
|
|
namespace DS.Module.UserModule;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 用户接口
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IUser
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取用户信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
UserInfo UserInfo { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取用户ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
string UserId { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取公司ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
string CompanyId { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 租户ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
string TenantId { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取公司ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
string GetCompanyId();
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取租户ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
string GetTenantId();
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取GID
|
|
|
|
|
/// </summary>
|
|
|
|
|
string GetUserGID();
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取Token
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
string GetToken();
|
|
|
|
|
}
|