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.
65 lines
1.6 KiB
C#
65 lines
1.6 KiB
C#
using DS.Module.Core;
|
|
using DS.Module.Core.Data;
|
|
using DS.WMS.Core.Sys.Dtos;
|
|
using DS.WMS.Core.Sys.Entity;
|
|
|
|
namespace DS.WMS.Core.Sys.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>
|
|
DataResult EditPermission(PermissionReq model);
|
|
|
|
/// <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();
|
|
|
|
/// <summary>
|
|
/// 更新租户权限信息
|
|
/// </summary>
|
|
/// <param name="req"></param>
|
|
/// <returns></returns>
|
|
public DataResult UpdateTenantPermissionInfo(IdModel req);
|
|
} |