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.

67 lines
1.5 KiB
C#

2 years ago
using DS.Module.Core;
using DS.WMS.Core.System.Dtos;
using DS.WMS.Core.System.Entity;
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>
/// APP升级
/// </summary>
/// <param name="appVersion">版本号</param>
/// <returns></returns>
DataResult AppUpdate(string appVersion);
/// <summary>
/// 查询用户拥有的菜单权限
/// </summary>
/// <returns></returns>
DataResult<List<RouteItem>> GetUserPermissionByToken();
/// <summary>
/// 批量获取字典值
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
DataResult<List<DictOptions>> GetDictOptions(DropDownDictTypeInput model);
/// <summary>
/// 获取商品分类列表
/// </summary>
/// <returns></returns>
DataResult<List<code_goodsType>> GetGoodsTypeList(PageRequest request);
/// <summary>
/// 企业用户注册
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
DataResult CompanyRegister(CompanyRegisterInput model);
/// <summary>
/// 获取服务器信息
/// </summary>
/// <returns></returns>
DataResult<dynamic> GetServerInfo();
}