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.
64 lines
1.6 KiB
C#
64 lines
1.6 KiB
C#
using DS.Module.Core;
|
|
using DS.WMS.Core.Sys.Dtos;
|
|
using DS.WMS.Core.Sys.Entity;
|
|
|
|
namespace DS.WMS.Core.Sys.Interface;
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public interface ISysRoleService
|
|
{
|
|
/// <summary>
|
|
/// 列表查询
|
|
/// </summary>
|
|
/// <param name="request"></param>
|
|
/// <returns></returns>
|
|
DataResult<List<SysRole>> GetListByPage(PageRequest request);
|
|
|
|
/// <summary>
|
|
/// 添加角色
|
|
/// </summary>
|
|
/// <param name="model"></param>
|
|
/// <returns></returns>
|
|
DataResult EditRole(RoleInput model);
|
|
|
|
/// <summary>
|
|
/// 获取详情
|
|
/// </summary>
|
|
/// <param name="id"></param>
|
|
/// <returns></returns>
|
|
DataResult<SysRole> GetRoleInfo(string id);
|
|
|
|
/// <summary>
|
|
/// 获取角色权限树
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
DataResult<RolePermissionTreeViewModel> GetRolePermissionTree();
|
|
|
|
/// <summary>
|
|
/// 获取角色权限树-客户端
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public DataResult<RolePermissionTreeViewModel> GetClientRolePermissionTree();
|
|
|
|
/// <summary>
|
|
/// 获取角色权限
|
|
/// </summary>
|
|
/// <param name="id"></param>
|
|
/// <returns></returns>
|
|
DataResult<long?[]> GetRolePermission(string id);
|
|
|
|
/// <summary>
|
|
/// 更新角色权限
|
|
/// </summary>
|
|
/// <param name="model"></param>
|
|
/// <returns></returns>
|
|
DataResult UpdateRolePermission(RolePermissionInput model);
|
|
/// <summary>
|
|
/// 更新角色权限-客户端
|
|
/// </summary>
|
|
/// <param name="model"></param>
|
|
/// <returns></returns>
|
|
public DataResult UpdateClientRolePermission(RolePermissionInput model);
|
|
} |