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.
58 lines
1.4 KiB
C#
58 lines
1.4 KiB
C#
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 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);
|
|
} |