| 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
 | | /* eslint-disable */ |  | // @ts-ignore |  | import { request } from '@/utils/request'; |  |   |  | /** 删除菜单 DELETE /api/user/menu/deleteMenu */ |  | export async function deleteMenu(body: API.DeleteMenuCommand, options?: API.RequestConfig) { |  |   return request<number>('/api/user/menu/deleteMenu', { |  |     method: 'DELETE', |  |     headers: { |  |       'Content-Type': 'application/json-patch+json', |  |     }, |  |     data: body, |  |     ...(options || {}), |  |   }); |  | } |  |   |  | /** 查询菜单详情 GET /api/user/menu/getMenu */ |  | export async function getMenu( |  |   // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |  |   params: API.APIgetMenuParams, |  |   options?: API.RequestConfig |  | ) { |  |   return request<API.GetMenuQueryResult>('/api/user/menu/getMenu', { |  |     method: 'GET', |  |     params: { |  |       ...params, |  |     }, |  |     ...(options || {}), |  |   }); |  | } |  |   |  | /** 查询菜单列表 GET /api/user/menu/getMenus */ |  | export async function getMenus( |  |   // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |  |   params: API.APIgetMenusParams, |  |   options?: API.RequestConfig |  | ) { |  |   return request<API.GetMenusQueryResultItem[]>('/api/user/menu/getMenus', { |  |     method: 'GET', |  |     params: { |  |       ...params, |  |     }, |  |     ...(options || {}), |  |   }); |  | } |  |   |  | /** 保存菜单 POST /api/user/menu/saveMenu */ |  | export async function saveMenu(body: API.SaveMenuCommand, options?: API.RequestConfig) { |  |   return request<string>('/api/user/menu/saveMenu', { |  |     method: 'POST', |  |     headers: { |  |       'Content-Type': 'application/json-patch+json', |  |     }, |  |     data: body, |  |     ...(options || {}), |  |   }); |  | } |  |   |  | /** 保存菜单按钮 POST /api/user/menu/saveMenuButton */ |  | export async function saveMenuButton(body: API.SaveMenuButtonCommand, options?: API.RequestConfig) { |  |   return request<string>('/api/user/menu/saveMenuButton', { |  |     method: 'POST', |  |     headers: { |  |       'Content-Type': 'application/json-patch+json', |  |     }, |  |     data: body, |  |     ...(options || {}), |  |   }); |  | } |  |   |  | /** 保存菜单字段 POST /api/user/menu/saveMenuField */ |  | export async function saveMenuField(body: API.SaveMenuFieldCommand, options?: API.RequestConfig) { |  |   return request<string>('/api/user/menu/saveMenuField', { |  |     method: 'POST', |  |     headers: { |  |       'Content-Type': 'application/json-patch+json', |  |     }, |  |     data: body, |  |     ...(options || {}), |  |   }); |  | } |  |   |  | /** 设置菜单切换信息 PUT /api/user/menu/setMenuSwitch */ |  | export async function setMenuSwitch(body: API.SetMenuSwitchCommand, options?: API.RequestConfig) { |  |   return request<number>('/api/user/menu/setMenuSwitch', { |  |     method: 'PUT', |  |     headers: { |  |       'Content-Type': 'application/json-patch+json', |  |     }, |  |     data: body, |  |     ...(options || {}), |  |   }); |  | } | 
 |