huanghongfa
2020-12-20 def38240262b4403377d4c16beac3ea048f1e658
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
package com.panzhihua.service_user.service;
 
import com.panzhihua.common.model.vos.MenuVO;
import com.panzhihua.common.model.vos.R;
 
import java.util.List;
 
/**
 * @program: springcloud_k8s_panzhihuazhihuishequ
 * @description: 权限
 * @author: huang.hongfa weixin hhf9596 qq 959656820
 * @create: 2020-11-25 15:58
 **/
public interface RoleService {
    /**
     * 获取平台所有的菜单按钮权限
     * @return 菜单按钮权限
     */
    R<List<MenuVO>> getAllMenu();
    /**
     * 获取某个人的所有角色
     * @param username 用户ID
     * @return 所有角色
     */
    R<List<String>> getUserRoles(String username);
    /**
     * 查询社区的党委角色
     * @param communityId 社区id
     * @return 党委角色列表
     */
    R listIdentity(Integer communityId);
}