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.

63 lines
1.5 KiB
C#

12 months ago
using DS.Module.Core;
using DS.Module.Core.Extensions;
using DS.WMS.Core.System.Dtos;
12 months ago
using SqlSugar;
12 months ago
namespace DS.WMS.Core.System.Interface;
public interface ICommonService
{
/// <summary>
/// 登录
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
DataResult<string> UserLogin(UserLoginModel model);
/// <summary>
/// 获取用户信息
/// </summary>
/// <returns></returns>
DataResult<CurrentUserViewModel> GetUserInfo();
/// <summary>
/// 查询用户拥有的菜单权限
/// </summary>
/// <returns></returns>
DataResult<List<RouteItem>> GetUserPermissionByToken();
/// <summary>
/// 获取服务器信息
/// </summary>
/// <returns></returns>
DataResult<dynamic> GetServerInfo();
/// <summary>
/// 获取角色下拉列表
/// </summary>
/// <returns></returns>
DataResult<List<ApiSelectViewModel>> GetRoleList();
/// <summary>
/// 修改密码
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
11 months ago
public DataResult ChangePassword(ChangePasswordReq model);
12 months ago
/// <summary>
/// 租户注册
/// </summary>
/// <param name="req"></param>
/// <returns></returns>
public DataResult TenantRegister(TenantRegisterReq req);
12 months ago
/// <summary>
/// 获取数据权限字段
/// </summary>
/// <returns></returns>
DataResult<List<EntityFieldProperty>> GetDataRuleEntityFields(string permissionId);
12 months ago
public ISugarQueryable<T> GetDataRuleFilter<T>();
12 months ago
}