huanghongfa
2020-12-07 880183edcf14844996e5f515b0c83c69c7dcb2d4
springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/api/RoleApi.java
@@ -41,4 +41,14 @@
    public R<List<String>> getUserRoles(@RequestParam("username") String username){
        return roleService.getUserRoles(username);
    }
    /**
     * 查询社区的党委角色
     * @param communityId 社区id
     * @return 党委角色列表
     */
    @PostMapping("listidentity")
    public R listIdentity(@RequestParam("communityId")Integer communityId){
        return roleService.listIdentity(communityId);
    }
}