using Model.ModelDto.SysDto;
|
using System;
|
using System.Collections.Generic;
|
using System.Text;
|
using System.Threading.Tasks;
|
using WMS.Entity;
|
using WMS.Entity.SysEntity;
|
|
namespace WMS.IBLL.ISysServer
|
{
|
/// <summary>
|
/// RBAC服务接口
|
/// </summary>
|
public interface IRBACServer
|
{
|
/// <summary>
|
/// 获取rbac信息列表
|
/// </summary>
|
/// <returns></returns>
|
Task<List<RBAC>> GetRBACLists(int roleid);
|
|
/// <summary>
|
/// 根据角色id获取对应菜单权限
|
/// </summary>
|
/// <param name="id"></param>
|
/// <returns></returns>
|
List<RoleRightDto> GetRoleRightList(int id);
|
|
/// <summary>
|
/// 根据角色Id获取对应的菜单选中
|
/// </summary>
|
/// <param name="id"></param>
|
/// <returns></returns>
|
object GetMenuByroleIdNew(int id);
|
|
/// <summary>
|
/// 分配权限显示
|
/// </summary>
|
/// <param name="id"></param>
|
/// <returns></returns>
|
List<FunctionMenuDto> GetRoleRightRBAC(string MenuNo,string UserId);
|
}
|
}
|