yyk
2024-08-22 65e13b7518fe3076f8768c330f67027ce19e81d9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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>
        Task<List<RoleRightDto>> GetRoleRightList(int id);
 
        /// <summary>
        /// 根据角色Id获取对应的菜单选中
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<List<FunctionMenuDto>> GetMenuByroleIdNew(int id);
 
        /// <summary>
        /// 分配权限显示
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<List<FunctionMenuDto>> GetRoleRightRBAC(string MenuNo,string UserId);
    }
}