-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmenu.php
More file actions
263 lines (261 loc) · 9.52 KB
/
menu.php
File metadata and controls
263 lines (261 loc) · 9.52 KB
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
<?php
/*
* 菜单
*
* @create 2020-8-13
* @author deatil
*/
return [
[
"route" => "admin/LapiApp/index",
"method" => "GET",
"type" => 1,
"is_menu" => 1,
"title" => "APP授权",
"icon" => "icon-apartment",
"tip" => "",
"listorder" => 115,
"child" => [
[
"route" => "admin/LapiSetting/index",
"method" => "GET",
"type" => 1,
"is_menu" => 1,
"title" => "授权设置",
"icon" => "icon-setup",
"listorder" => 5,
"child" => [
[
"route" => "admin/LapiSetting/index",
"method" => "POST",
"type" => 1,
"is_menu" => 0,
"title" => "授权设置",
],
],
],
[
"route" => "admin/LapiApp/index",
"method" => "GET",
"type" => 1,
"is_menu" => 1,
"title" => "授权列表",
"icon" => "icon-apartment",
"listorder" => 15,
"child" => [
[
"route" => "admin/LapiApp/index",
"method" => "POST",
"type" => 1,
"is_menu" => 0,
"title" => "授权列表",
],
[
"route" => "admin/LapiApp/add",
"method" => "GET",
"type" => 1,
"is_menu" => 0,
"title" => "添加授权",
"child" => [
[
"route" => "admin/LapiApp/add",
"method" => "POST",
"type" => 1,
"is_menu" => 0,
"title" => "添加授权",
],
],
],
[
"route" => "admin/LapiApp/edit",
"method" => "GET",
"type" => 1,
"is_menu" => 0,
"title" => "编辑授权",
"child" => [
[
"route" => "admin/LapiApp/edit",
"method" => "POST",
"type" => 1,
"is_menu" => 0,
"title" => "编辑授权",
],
],
],
[
"route" => "admin/LapiApp/delete",
"method" => "POST",
"type" => 1,
"is_menu" => 0,
"title" => "删除授权",
],
[
"route" => "admin/LapiApp/state",
"method" => "POST",
"type" => 1,
"is_menu" => 0,
"title" => "授权状态",
],
[
"route" => "admin/LapiApp/access",
"method" => "GET",
"type" => 1,
"is_menu" => 0,
"title" => "授权接口",
"child" => [
[
"route" => "admin/LapiApp/access",
"method" => "POST",
"type" => 1,
"is_menu" => 0,
"title" => "授权接口",
],
],
],
[
"route" => "admin/LapiApp/accessUrl",
"method" => "GET",
"type" => 1,
"is_menu" => 0,
"title" => "访问授权列表",
"child" => [
[
"route" => "admin/LapiApp/accessUrl",
"method" => "POST",
"type" => 1,
"is_menu" => 0,
"title" => "访问授权列表",
],
],
],
[
"route" => "admin/LapiApp/accessUrlSet",
"method" => "POST",
"type" => 1,
"is_menu" => 0,
"title" => "访问授权链接设置",
],
],
],
[
"route" => "admin/LapiUrl/index",
"method" => "GET",
"type" => 1,
"is_menu" => 1,
"title" => "接口列表",
"icon" => "icon-lianjie",
"listorder" => 25,
"child" => [
[
"route" => "admin/LapiUrl/index",
"method" => "POST",
"type" => 1,
"is_menu" => 0,
"title" => "接口列表",
],
[
"route" => "admin/LapiUrl/all",
"method" => "GET",
"type" => 1,
"is_menu" => 0,
"title" => "全部接口",
"child" => [
[
"route" => "admin/LapiUrl/all",
"method" => "POST",
"type" => 1,
"is_menu" => 0,
"title" => "全部接口",
],
],
],
[
"route" => "admin/LapiUrl/add",
"method" => "GET",
"type" => 1,
"is_menu" => 0,
"title" => "添加接口",
"child" => [
[
"route" => "admin/LapiUrl/add",
"method" => "POST",
"type" => 1,
"is_menu" => 0,
"title" => "添加接口",
],
],
],
[
"route" => "admin/LapiUrl/edit",
"method" => "GET",
"type" => 1,
"is_menu" => 0,
"title" => "编辑接口",
"child" => [
[
"route" => "admin/LapiUrl/edit",
"method" => "POST",
"type" => 1,
"is_menu" => 0,
"title" => "编辑接口",
],
],
],
[
"route" => "admin/LapiUrl/detail",
"method" => "GET",
"type" => 1,
"is_menu" => 0,
"title" => "接口详情",
],
[
"route" => "admin/LapiUrl/delete",
"method" => "POST",
"type" => 1,
"is_menu" => 0,
"title" => "删除接口",
],
[
"route" => "admin/LapiUrl/state",
"method" => "POST",
"type" => 1,
"is_menu" => 0,
"title" => "接口状态",
],
[
"route" => "admin/LapiUrl/listorder",
"method" => "POST",
"type" => 1,
"is_menu" => 0,
"title" => "接口排序",
],
],
],
[
"route" => "admin/LapiAppLog/index",
"method" => "GET",
"type" => 1,
"is_menu" => 1,
"title" => "接口日志",
"icon" => "icon-rank",
"listorder" => 35,
"child" => [
[
"route" => "admin/LapiAppLog/view",
"method" => "GET",
"type" => 1,
"is_menu" => 0,
"title" => "日志详情",
],
[
"route" => "admin/LapiAppLog/clear",
"method" => "POST",
"type" => 1,
"is_menu" => 0,
"title" => "清除日志",
],
],
],
],
],
];