haoxuan
2024-01-04 f28c92b15808088eeec70442f0d45cf4ed6543e8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import request from "@/common/untils/request.js"
 
// 创建角色
export function addAuthority(data) {
  return request({
    url: "/api/authority/add",
    method: "post",
    data
  })
}
 
// 设置角色菜单
export function setMenuAuthority(data) {
  return request({
    url: "/api/authority/setMenuAuthority",
    method: "post",
    data
  })
}