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
| /* eslint-disable */
| // @ts-ignore
| import { request } from '@/utils/request';
|
| /** 查询菜单/页面/模态框列表 POST /api/user/menu/list-query */
| export async function menuListQuery(body: API.MenuListQuery, options?: API.RequestConfig) {
| return request<API.MenuListCallback>('/api/user/menu/list-query', {
| method: 'POST',
| headers: {
| 'Content-Type': 'application/json-patch+json',
| },
| data: body,
| ...(options || {}),
| });
| }
|
| /** 保存菜单 POST /api/user/menu/save */
| export async function menuSave(body: API.MenuSaveCommand, options?: API.RequestConfig) {
| return request<string>('/api/user/menu/save', {
| method: 'POST',
| headers: {
| 'Content-Type': 'application/json-patch+json',
| },
| data: body,
| ...(options || {}),
| });
| }
|
| /** 查询按钮/字段列表 POST /api/user/menu/sub-list-query */
| export async function menuSubListQuery(body: API.MenuSubListQuery, options?: API.RequestConfig) {
| return request<API.MenuSubListCallback>('/api/user/menu/sub-list-query', {
| method: 'POST',
| headers: {
| 'Content-Type': 'application/json-patch+json',
| },
| data: body,
| ...(options || {}),
| });
| }
|
|