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.

57 lines
1.4 KiB
C#

12 months ago
using DS.Module.Core;
using DS.WMS.Core.System.Dtos;
using DS.WMS.Core.System.Entity;
namespace DS.WMS.Core.System.Interface;
/// <summary>
///
/// </summary>
public interface IPermissionService
{
/// <summary>
/// 获取权限列表
/// </summary>
/// <returns></returns>
DataResult<List<SysPermission>> GetPermissionList();
/// <summary>
/// 列表查询
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
DataResult<List<SysPermission>> GetListByPage(PageRequest request);
/// <summary>
/// 获取权限详情
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
DataResult<SysPermission> GetPermissionInfo(string id);
/// <summary>
/// 编辑权限
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
11 months ago
DataResult EditPermission(PermissionReq model);
12 months ago
/// <summary>
///
/// </summary>
/// <returns></returns>
DataResult<List<PermissionTreeViewModel>> GetPermissionTree();
/// <summary>
/// 更新角色权限
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
DataResult UpdateRolePermission(RolePermissionInput model);
/// <summary>
/// 获取权限树列表
/// </summary>
/// <returns></returns>
DataResult<List<PermissionTreeList>> GetPermissionTreeList();
}