admin.php 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971
  1. <?php
  2. return [
  3. [
  4. 'menu_name' => '平台优惠券',
  5. 'menu_key' => 'platform_coupon',
  6. 'menu_short_name' => '平台优惠券',
  7. 'parent_key' => 'marketing',
  8. 'menu_type' => '1',
  9. 'icon' => 'iconfont iconpingtaiyouhuiquan',
  10. 'api_url' => 'mall/mall/goods/platform_coupon',
  11. 'router_path' => 'mall/marketing/platform_coupon/list',
  12. 'view_path' => 'mall/marketing/platform_coupon/list',
  13. 'methods' => 'get',
  14. 'sort' => '100',
  15. 'status' => '1',
  16. 'is_show' => '1',
  17. 'children' => [
  18. [
  19. 'menu_name' => '优惠券删除',
  20. 'menu_key' => 'platform_coupon_delete',
  21. 'menu_short_name' => '优惠券删除',
  22. 'menu_type' => '2',
  23. 'icon' => '',
  24. 'api_url' => 'mall/mall/goods/platform_coupon/<id>',
  25. 'router_path' => '',
  26. 'view_path' => '',
  27. 'methods' => 'delete',
  28. 'sort' => '0',
  29. 'status' => '1',
  30. 'is_show' => '0',
  31. ],
  32. ],
  33. ],
  34. [
  35. 'menu_name' => '店铺优惠券',
  36. 'menu_key' => 'mall_coupon_list',
  37. 'menu_short_name' => '店铺优惠券',
  38. 'parent_key' => 'marketing',
  39. 'menu_type' => '1',
  40. 'icon' => 'iconfont icondianpuyouhuiquan',
  41. 'api_url' => 'coupon',
  42. 'router_path' => 'mall/coupon/list',
  43. 'view_path' => 'mall/coupon/list',
  44. 'methods' => 'get',
  45. 'sort' => '100',
  46. 'status' => '1',
  47. 'is_show' => '1',
  48. ],
  49. [
  50. 'menu_name' => '发票管理',
  51. 'menu_key' => 'invoice_list',
  52. 'menu_short_name' => '发票管理',
  53. 'parent_key' => 'finance',
  54. 'menu_type' => '1',
  55. 'icon' => 'iconfont iconjiesuanjilu1',
  56. 'api_url' => 'mall/mall/invoice',
  57. 'router_path' => 'mall/order/invoice',
  58. 'view_path' => 'mall/order/invoice',
  59. 'methods' => 'get',
  60. 'sort' => '95',
  61. 'status' => '1',
  62. 'is_show' => '1',
  63. ],
  64. [
  65. 'menu_name' => '商品管理',
  66. 'menu_key' => 'mall_goods',
  67. 'menu_short_name' => '商品',
  68. 'parent_key' => '',
  69. 'menu_type' => '0',
  70. 'icon' => 'iconfont iconshangpin',
  71. 'api_url' => '',
  72. 'router_path' => '',
  73. 'view_path' => '',
  74. 'methods' => '',
  75. 'sort' => '90',
  76. 'status' => '1',
  77. 'is_show' => '1',
  78. 'children' => [
  79. [
  80. 'menu_name' => '商品列表',
  81. 'menu_key' => 'mall_goods_list',
  82. 'menu_short_name' => '商品列表',
  83. 'menu_type' => '1',
  84. 'icon' => 'iconfont iconshangpinliebiao1',
  85. 'api_url' => 'goods',
  86. 'router_path' => 'mall/goods/list',
  87. 'view_path' => 'mall/goods/list',
  88. 'methods' => 'get',
  89. 'sort' => '90',
  90. 'status' => '1',
  91. 'is_show' => '1',
  92. 'children' => [
  93. [
  94. 'menu_name' => '修改商品排序号',
  95. 'menu_key' => 'mall_goods_sort_edit',
  96. 'menu_short_name' => '修改商品排序号',
  97. 'menu_type' => '2',
  98. 'icon' => '',
  99. 'api_url' => 'mall/mall/goods/sort',
  100. 'router_path' => '',
  101. 'view_path' => '',
  102. 'methods' => 'put',
  103. 'sort' => '12',
  104. 'status' => '1',
  105. 'is_show' => '1',
  106. ],
  107. [
  108. 'menu_name' => '修改商品标签',
  109. 'menu_key' => 'mall_goods_edit_label',
  110. 'menu_short_name' => '修改商品标签',
  111. 'menu_type' => '2',
  112. 'icon' => '',
  113. 'api_url' => 'mall/mall/goods/edit_label',
  114. 'router_path' => '',
  115. 'view_path' => '',
  116. 'methods' => 'put',
  117. 'sort' => '12',
  118. 'status' => '1',
  119. 'is_show' => '1',
  120. ],
  121. [
  122. 'menu_name' => '商品审核通过',
  123. 'menu_key' => 'mall_goods_status_audit_pass',
  124. 'menu_short_name' => '商品审核通过',
  125. 'menu_type' => '2',
  126. 'icon' => '',
  127. 'api_url' => 'mall/mall/goods/audit',
  128. 'router_path' => '',
  129. 'view_path' => '',
  130. 'methods' => 'put',
  131. 'sort' => '12',
  132. 'status' => '1',
  133. 'is_show' => '1',
  134. ],
  135. [
  136. 'menu_name' => '商品审核拒绝',
  137. 'menu_key' => 'mall_goods_status_audit_refuse',
  138. 'menu_short_name' => '商品审核拒绝',
  139. 'menu_type' => '2',
  140. 'icon' => '',
  141. 'api_url' => 'mall/mall/goods/refuse',
  142. 'router_path' => '',
  143. 'view_path' => '',
  144. 'methods' => 'put',
  145. 'sort' => '12',
  146. 'status' => '1',
  147. 'is_show' => '1',
  148. ],
  149. [
  150. 'menu_name' => '商品审核强制下架',
  151. 'menu_key' => 'mall_goods_status_audit_offline',
  152. 'menu_short_name' => '商品审核强制下架',
  153. 'menu_type' => '2',
  154. 'icon' => '',
  155. 'api_url' => 'mall/mall/goods/offline',
  156. 'router_path' => '',
  157. 'view_path' => '',
  158. 'methods' => 'put',
  159. 'sort' => '12',
  160. 'status' => '1',
  161. 'is_show' => '1',
  162. ],
  163. ],
  164. ],
  165. [
  166. 'menu_name' => '商品分类',
  167. 'menu_key' => 'mall_goods_category_list',
  168. 'menu_short_name' => '商品分类',
  169. 'menu_type' => '1',
  170. 'icon' => 'iconfont iconshangpinfenlei',
  171. 'api_url' => 'goods/category',
  172. 'router_path' => 'mall/goods/category',
  173. 'view_path' => 'mall/goods/category',
  174. 'methods' => 'get',
  175. 'sort' => '89',
  176. 'status' => '1',
  177. 'is_show' => '1',
  178. 'children' => [
  179. [
  180. 'menu_name' => '拖拽编辑商品分类',
  181. 'menu_key' => 'mall_goods_category_update',
  182. 'menu_short_name' => '拖拽编辑商品分类',
  183. 'menu_type' => '2',
  184. 'icon' => '',
  185. 'api_url' => 'mall/mall/goods/category/update',
  186. 'router_path' => '',
  187. 'view_path' => '',
  188. 'methods' => 'post',
  189. 'sort' => '12',
  190. 'status' => '1',
  191. 'is_show' => '1',
  192. ],
  193. [
  194. 'menu_name' => '删除商品分类',
  195. 'menu_key' => 'mall_goods_category_del',
  196. 'menu_short_name' => '删除商品分类',
  197. 'menu_type' => '2',
  198. 'icon' => '',
  199. 'api_url' => 'mall/mall/goods/category/<id>',
  200. 'router_path' => '',
  201. 'view_path' => '',
  202. 'methods' => 'delete',
  203. 'sort' => '12',
  204. 'status' => '1',
  205. 'is_show' => '1',
  206. ],
  207. [
  208. 'menu_name' => '添加商品分类',
  209. 'menu_key' => 'mall_goods_category_add',
  210. 'menu_short_name' => '添加商品分类',
  211. 'menu_type' => '2',
  212. 'icon' => '',
  213. 'api_url' => 'mall/mall/goods/category',
  214. 'router_path' => '',
  215. 'view_path' => '',
  216. 'methods' => 'post',
  217. 'sort' => '12',
  218. 'status' => '1',
  219. 'is_show' => '1',
  220. ],
  221. [
  222. 'menu_name' => '编辑商品分类',
  223. 'menu_key' => 'mall_goods_category_edit',
  224. 'menu_short_name' => '编辑商品分类',
  225. 'menu_type' => '2',
  226. 'icon' => '',
  227. 'api_url' => 'mall/mall/goods/category/<id>',
  228. 'router_path' => '',
  229. 'view_path' => '',
  230. 'methods' => 'put',
  231. 'sort' => '12',
  232. 'status' => '1',
  233. 'is_show' => '1',
  234. ],
  235. ],
  236. ],
  237. [
  238. 'menu_name' => '商品参数管理',
  239. 'menu_key' => 'mall_goods_attr_value',
  240. 'menu_short_name' => '商品参数管理',
  241. 'menu_type' => '1',
  242. 'icon' => 'iconfont iconshangpinfenlei',
  243. 'api_url' => 'mall/shop/goods/attr',
  244. 'router_path' => 'mall/goods/attr_edit',
  245. 'view_path' => 'mall/goods/attr_edit',
  246. 'methods' => 'get',
  247. 'sort' => '88',
  248. 'status' => '1',
  249. 'is_show' => '0',
  250. ],
  251. [
  252. 'menu_name' => '商品标签',
  253. 'menu_key' => 'mall_goods_label_list',
  254. 'menu_short_name' => '商品标签',
  255. 'menu_type' => '1',
  256. 'icon' => 'iconfont iconshangpinbiaoqian',
  257. 'api_url' => 'goods/label',
  258. 'router_path' => 'mall/goods/label',
  259. 'view_path' => 'mall/goods/label_list',
  260. 'methods' => 'get',
  261. 'sort' => '88',
  262. 'status' => '1',
  263. 'is_show' => '1',
  264. 'children' => [
  265. [
  266. 'menu_name' => '添加商品标签',
  267. 'menu_key' => 'mall_goods_label_add',
  268. 'menu_short_name' => '添加商品标签',
  269. 'menu_type' => '2',
  270. 'icon' => '',
  271. 'api_url' => 'mall/mall/goods/label',
  272. 'router_path' => '',
  273. 'view_path' => '',
  274. 'methods' => 'post',
  275. 'sort' => '12',
  276. 'status' => '1',
  277. 'is_show' => '1',
  278. ],
  279. [
  280. 'menu_name' => '编辑商品标签',
  281. 'menu_key' => 'mall_goods_label_edit',
  282. 'menu_short_name' => '编辑商品标签',
  283. 'menu_type' => '2',
  284. 'icon' => '',
  285. 'api_url' => 'mall/mall/goods/label/<id>',
  286. 'router_path' => '',
  287. 'view_path' => '',
  288. 'methods' => 'put',
  289. 'sort' => '12',
  290. 'status' => '1',
  291. 'is_show' => '1',
  292. ],
  293. [
  294. 'menu_name' => '删除商品标签',
  295. 'menu_key' => 'mall_goods_label_del',
  296. 'menu_short_name' => '删除商品标签',
  297. 'menu_type' => '2',
  298. 'icon' => '',
  299. 'api_url' => 'mall/mall/goods/label/<id>',
  300. 'router_path' => '',
  301. 'view_path' => '',
  302. 'methods' => 'delete',
  303. 'sort' => '12',
  304. 'status' => '1',
  305. 'is_show' => '1',
  306. ],
  307. ],
  308. ],
  309. [
  310. 'menu_name' => '商品服务',
  311. 'menu_key' => 'mall_goods_service_list',
  312. 'menu_short_name' => '商品服务',
  313. 'menu_type' => '1',
  314. 'icon' => 'iconfont iconshangpinfuwu',
  315. 'api_url' => 'goods/service',
  316. 'router_path' => 'mall/goods/service',
  317. 'view_path' => 'mall/goods/service',
  318. 'methods' => 'get',
  319. 'sort' => '87',
  320. 'status' => '1',
  321. 'is_show' => '1',
  322. 'children' => [
  323. [
  324. 'menu_name' => '编辑商品服务',
  325. 'menu_key' => 'mall_goods_service_edit',
  326. 'menu_short_name' => '编辑商品服务',
  327. 'menu_type' => '2',
  328. 'icon' => '',
  329. 'api_url' => 'mall/mall/goods/service/<id>',
  330. 'router_path' => '',
  331. 'view_path' => '',
  332. 'methods' => 'put',
  333. 'sort' => '12',
  334. 'status' => '1',
  335. 'is_show' => '1',
  336. ],
  337. [
  338. 'menu_name' => '添加商品服务',
  339. 'menu_key' => 'mall_goods_service_add',
  340. 'menu_short_name' => '添加商品服务',
  341. 'menu_type' => '2',
  342. 'icon' => '',
  343. 'api_url' => 'mall/mall/goods/service',
  344. 'router_path' => '',
  345. 'view_path' => '',
  346. 'methods' => 'post',
  347. 'sort' => '12',
  348. 'status' => '1',
  349. 'is_show' => '1',
  350. ],
  351. [
  352. 'menu_name' => '删除商品服务',
  353. 'menu_key' => 'mall_goods_service_del',
  354. 'menu_short_name' => '删除商品服务',
  355. 'menu_type' => '2',
  356. 'icon' => '',
  357. 'api_url' => 'mall/mall/goods/service/<id>',
  358. 'router_path' => '',
  359. 'view_path' => '',
  360. 'methods' => 'delete',
  361. 'sort' => '12',
  362. 'status' => '1',
  363. 'is_show' => '1',
  364. ],
  365. ],
  366. ],
  367. [
  368. 'menu_name' => '商品品牌',
  369. 'menu_key' => 'mall_goods_brand_list',
  370. 'menu_short_name' => '商品品牌',
  371. 'menu_type' => '1',
  372. 'icon' => 'iconfont iconshangpinpinpai',
  373. 'api_url' => 'goods/brand',
  374. 'router_path' => 'mall/goods/brand',
  375. 'view_path' => 'mall/goods/brand_list',
  376. 'methods' => 'get',
  377. 'sort' => '86',
  378. 'status' => '1',
  379. 'is_show' => '1',
  380. 'children' => [
  381. [
  382. 'menu_name' => '删除商品品牌',
  383. 'menu_key' => 'mall_goods_brand_del',
  384. 'menu_short_name' => '删除商品品牌',
  385. 'menu_type' => '2',
  386. 'icon' => '',
  387. 'api_url' => 'mall/mall/goods/brand/<id>',
  388. 'router_path' => '',
  389. 'view_path' => '',
  390. 'methods' => 'delete',
  391. 'sort' => '12',
  392. 'status' => '1',
  393. 'is_show' => '1',
  394. ],
  395. [
  396. 'menu_name' => '编辑商品品牌',
  397. 'menu_key' => 'mall_goods_brand_edit',
  398. 'menu_short_name' => '编辑商品品牌',
  399. 'menu_type' => '2',
  400. 'icon' => '',
  401. 'api_url' => 'mall/mall/goods/brand/<id>',
  402. 'router_path' => '',
  403. 'view_path' => '',
  404. 'methods' => 'put',
  405. 'sort' => '12',
  406. 'status' => '1',
  407. 'is_show' => '1',
  408. ],
  409. [
  410. 'menu_name' => '添加商品品牌',
  411. 'menu_key' => 'mall_goods_brand_add',
  412. 'menu_short_name' => '添加商品品牌',
  413. 'menu_type' => '2',
  414. 'icon' => '',
  415. 'api_url' => 'mall/mall/goods/brand',
  416. 'router_path' => '',
  417. 'view_path' => '',
  418. 'methods' => 'post',
  419. 'sort' => '12',
  420. 'status' => '1',
  421. 'is_show' => '1',
  422. ],
  423. ],
  424. ],
  425. [
  426. 'menu_name' => '商品参数',
  427. 'menu_key' => 'mall_goods_attr_list',
  428. 'menu_short_name' => '商品参数',
  429. 'menu_type' => '1',
  430. 'icon' => 'iconfont iconshangpincanshu',
  431. 'api_url' => 'goods/attr',
  432. 'router_path' => 'mall/goods/attr',
  433. 'view_path' => 'mall/goods/attr',
  434. 'methods' => 'get',
  435. 'sort' => '85',
  436. 'status' => '1',
  437. 'is_show' => '1',
  438. ],
  439. [
  440. 'menu_name' => '分类设置',
  441. 'menu_key' => 'mall_goods_category_config',
  442. 'menu_short_name' => '分类设置',
  443. 'menu_type' => '1',
  444. 'icon' => 'iconfont iconfenleishezhi',
  445. 'api_url' => '',
  446. 'router_path' => 'mall/goods/category/config',
  447. 'view_path' => 'mall/goods/category_config',
  448. 'methods' => '',
  449. 'sort' => '82',
  450. 'status' => '1',
  451. 'is_show' => '0',
  452. 'children' => [
  453. [
  454. 'menu_name' => '设置',
  455. 'menu_key' => 'mall_goods_category_config_set',
  456. 'menu_short_name' => '设置',
  457. 'menu_type' => '2',
  458. 'icon' => '',
  459. 'api_url' => 'mall/mall/goods/category/config',
  460. 'router_path' => '',
  461. 'view_path' => '',
  462. 'methods' => 'post',
  463. 'sort' => '12',
  464. 'status' => '1',
  465. 'is_show' => '1',
  466. ],
  467. ],
  468. ],
  469. [
  470. 'menu_name' => '商品设置',
  471. 'menu_key' => 'mall_goods_config',
  472. 'menu_short_name' => '商品设置',
  473. 'menu_type' => '1',
  474. 'icon' => 'iconfont iconshangpinguanli',
  475. 'api_url' => '',
  476. 'router_path' => 'mall/goods/config',
  477. 'view_path' => 'mall/goods/config',
  478. 'methods' => 'get',
  479. 'sort' => '81',
  480. 'status' => '1',
  481. 'is_show' => '1',
  482. 'children' => [
  483. [
  484. 'menu_name' => '设置',
  485. 'menu_key' => 'mall_goods_config_set',
  486. 'menu_short_name' => '设置',
  487. 'menu_type' => '2',
  488. 'icon' => '',
  489. 'api_url' => 'mall/mall/goods/config',
  490. 'router_path' => '',
  491. 'view_path' => '',
  492. 'methods' => 'post',
  493. 'sort' => '12',
  494. 'status' => '1',
  495. 'is_show' => '1',
  496. ],
  497. ],
  498. ],
  499. ],
  500. ],
  501. [
  502. 'menu_name' => '商品榜单',
  503. 'menu_key' => 'mall_goods_rank',
  504. 'menu_short_name' => '商品榜单',
  505. 'parent_key' => 'marketing',
  506. 'menu_type' => '1',
  507. 'icon' => 'nc-iconfont nc-icon-paihangbangV6xx1',
  508. 'api_url' => '',
  509. 'router_path' => '',
  510. 'view_path' => '',
  511. 'methods' => 'get',
  512. 'sort' => '85',
  513. 'status' => '1',
  514. 'is_show' => '1',
  515. 'children' => [
  516. [
  517. 'menu_name' => '榜单设置',
  518. 'menu_key' => 'mall_goods_rank_config',
  519. 'menu_short_name' => '榜单设置',
  520. 'menu_type' => '1',
  521. 'icon' => 'nc-iconfont nc-icon-bangdanshezhiV6xx',
  522. 'api_url' => 'mall/good/rank/config',
  523. 'router_path' => 'mall/marketing/goods_rank/config',
  524. 'view_path' => 'mall/marketing/goods_rank/config',
  525. 'methods' => 'get',
  526. 'sort' => '90',
  527. 'status' => '1',
  528. 'is_show' => '1',
  529. ],
  530. [
  531. 'menu_name' => '榜单管理',
  532. 'menu_key' => 'mall_goods_rank_list',
  533. 'menu_short_name' => '榜单管理',
  534. 'menu_type' => '1',
  535. 'icon' => 'nc-iconfont nc-icon-bangdanguanliV6xx',
  536. 'api_url' => 'mall/good/rank',
  537. 'router_path' => 'mall/marketing/goods_rank/list',
  538. 'view_path' => 'mall/marketing/goods_rank/list',
  539. 'methods' => 'get',
  540. 'sort' => '80',
  541. 'status' => '1',
  542. 'is_show' => '1',
  543. 'children' => [
  544. [
  545. 'menu_name' => '榜单排序号修改',
  546. 'menu_key' => 'mall_goods_rank_sort_edit',
  547. 'menu_short_name' => '榜单排序号修改',
  548. 'menu_type' => '2',
  549. 'icon' => '',
  550. 'api_url' => 'mall/good/rank/sort',
  551. 'router_path' => '',
  552. 'view_path' => '',
  553. 'methods' => 'put',
  554. 'sort' => '0',
  555. 'status' => '1',
  556. 'is_show' => '0',
  557. ],
  558. [
  559. 'menu_name' => '删除榜单',
  560. 'menu_key' => 'mall_goods_rank_delete',
  561. 'menu_short_name' => '删除榜单',
  562. 'menu_type' => '2',
  563. 'icon' => '',
  564. 'api_url' => 'mall/good/rank/<id>',
  565. 'router_path' => '',
  566. 'view_path' => '',
  567. 'methods' => 'delete',
  568. 'sort' => '0',
  569. 'status' => '1',
  570. 'is_show' => '0',
  571. ],
  572. [
  573. 'menu_name' => '批量删除榜单',
  574. 'menu_key' => 'mall_goods_rank_batch_delete',
  575. 'menu_short_name' => '批量删除榜单',
  576. 'menu_type' => '2',
  577. 'icon' => '',
  578. 'api_url' => 'mall/good/rank/batchdelete',
  579. 'router_path' => '',
  580. 'view_path' => '',
  581. 'methods' => 'put',
  582. 'sort' => '0',
  583. 'status' => '1',
  584. 'is_show' => '0',
  585. ],
  586. ],
  587. ],
  588. [
  589. 'menu_name' => '榜单编辑',
  590. 'menu_key' => 'mall_goods_rank_edit',
  591. 'menu_short_name' => '榜单编辑',
  592. 'menu_type' => '1',
  593. 'icon' => '',
  594. 'api_url' => 'mall/good/rank/<id>',
  595. 'router_path' => 'mall/marketing/goods_rank/edit',
  596. 'view_path' => 'mall/marketing/goods_rank/edit',
  597. 'methods' => 'put',
  598. 'sort' => '0',
  599. 'status' => '1',
  600. 'is_show' => '0',
  601. ],
  602. [
  603. 'menu_name' => '榜单添加',
  604. 'menu_key' => 'mall_goods_rank_add',
  605. 'menu_short_name' => '榜单添加',
  606. 'menu_type' => '1',
  607. 'icon' => '',
  608. 'api_url' => 'mall/good/rank',
  609. 'router_path' => 'mall/marketing/goods_rank/edit',
  610. 'view_path' => 'mall/marketing/goods_rank/edit',
  611. 'methods' => 'post',
  612. 'sort' => '0',
  613. 'status' => '1',
  614. 'is_show' => '0',
  615. ],
  616. ],
  617. ],
  618. [
  619. 'menu_name' => '订单管理',
  620. 'menu_key' => 'mall_order',
  621. 'menu_short_name' => '订单',
  622. 'parent_key' => '',
  623. 'menu_type' => '0',
  624. 'icon' => 'iconfont icondingdan',
  625. 'api_url' => '',
  626. 'router_path' => '',
  627. 'view_path' => '',
  628. 'methods' => 'get',
  629. 'sort' => '80',
  630. 'status' => '1',
  631. 'is_show' => '1',
  632. 'children' => [
  633. [
  634. 'menu_name' => '订单列表',
  635. 'menu_key' => 'mall_order_list',
  636. 'menu_short_name' => '订单列表',
  637. 'menu_type' => '1',
  638. 'icon' => 'iconfont icona-dingdanliebiao',
  639. 'api_url' => 'order/list',
  640. 'router_path' => 'mall/order/index',
  641. 'view_path' => 'mall/order/list',
  642. 'methods' => 'get',
  643. 'sort' => '90',
  644. 'status' => '1',
  645. 'is_show' => '1',
  646. ],
  647. [
  648. 'menu_name' => '退款维权',
  649. 'menu_key' => 'mall_order_refund',
  650. 'menu_short_name' => '退款维权',
  651. 'menu_type' => '1',
  652. 'icon' => 'iconfont icondingdanweiquan',
  653. 'api_url' => '',
  654. 'router_path' => 'mall/order/refund',
  655. 'view_path' => 'mall/order/refund',
  656. 'methods' => 'get',
  657. 'sort' => '89',
  658. 'status' => '1',
  659. 'is_show' => '1',
  660. ],
  661. [
  662. 'menu_name' => '商品评价',
  663. 'menu_key' => 'mall_goods_evaluate',
  664. 'menu_short_name' => '商品评价',
  665. 'menu_type' => '1',
  666. 'icon' => 'iconfont iconshangpinpinglun',
  667. 'api_url' => 'goods/evaluate',
  668. 'router_path' => 'mall/order/evaluate',
  669. 'view_path' => 'mall/goods/evaluate',
  670. 'methods' => 'get',
  671. 'sort' => '87',
  672. 'status' => '1',
  673. 'is_show' => '1',
  674. ],
  675. [
  676. 'menu_name' => '订单设置',
  677. 'menu_key' => 'mall_config_order',
  678. 'menu_short_name' => '订单设置',
  679. 'menu_type' => '1',
  680. 'icon' => 'iconfont iconjiaoyishezhi',
  681. 'api_url' => '',
  682. 'router_path' => 'mall/order/order/config',
  683. 'view_path' => 'mall/order/config',
  684. 'methods' => '',
  685. 'sort' => '86',
  686. 'status' => '1',
  687. 'is_show' => '1',
  688. 'children' => [
  689. [
  690. 'menu_name' => '设置',
  691. 'menu_key' => 'mall_config_order_set',
  692. 'menu_short_name' => '设置',
  693. 'menu_type' => '2',
  694. 'icon' => '',
  695. 'api_url' => 'mall/mall/order/config',
  696. 'router_path' => '',
  697. 'view_path' => '',
  698. 'methods' => 'post',
  699. 'sort' => '12',
  700. 'status' => '1',
  701. 'is_show' => '1',
  702. ],
  703. ],
  704. ],
  705. [
  706. 'menu_name' => '维权详情',
  707. 'menu_key' => 'mall_order_refund_detail',
  708. 'menu_short_name' => '维权详情',
  709. 'menu_type' => '1',
  710. 'icon' => 'iconfont iconshangpinguanli',
  711. 'api_url' => 'mall/order/refund<id>',
  712. 'router_path' => 'mall/order/refund/detail',
  713. 'view_path' => 'mall/order/refund_detail',
  714. 'methods' => 'get',
  715. 'sort' => '0',
  716. 'status' => '1',
  717. 'is_show' => '0',
  718. ],
  719. [
  720. 'menu_name' => '物流公司',
  721. 'menu_key' => 'mall_config_delivery_company',
  722. 'menu_short_name' => '物流公司',
  723. 'menu_type' => '1',
  724. 'icon' => 'iconfont icona-Group844',
  725. 'api_url' => '',
  726. 'router_path' => 'mall/order/delivery/company',
  727. 'view_path' => 'mall/delivery/company',
  728. 'methods' => 'get',
  729. 'sort' => '0',
  730. 'status' => '1',
  731. 'is_show' => '1',
  732. 'children' => [
  733. [
  734. 'menu_name' => '物流公司删除',
  735. 'menu_key' => 'mall_config_delivery_company_del',
  736. 'menu_short_name' => '物流公司删除',
  737. 'menu_type' => '2',
  738. 'icon' => '',
  739. 'api_url' => 'mall/mall/delivery/company/<id>',
  740. 'router_path' => '',
  741. 'view_path' => '',
  742. 'methods' => 'delete',
  743. 'sort' => '12',
  744. 'status' => '1',
  745. 'is_show' => '1',
  746. ],
  747. ],
  748. ],
  749. [
  750. 'menu_name' => '添加物流公司',
  751. 'menu_key' => 'mall_config_delivery_company_add',
  752. 'menu_short_name' => '添加物流公司',
  753. 'menu_type' => '1',
  754. 'icon' => '',
  755. 'api_url' => 'mall/delivery/company',
  756. 'router_path' => 'mall/order/delivery/company_add',
  757. 'view_path' => 'mall/delivery/company_edit',
  758. 'methods' => 'post',
  759. 'sort' => '0',
  760. 'status' => '1',
  761. 'is_show' => '0',
  762. ],
  763. [
  764. 'menu_name' => '编辑物流公司',
  765. 'menu_key' => 'mall_config_delivery_company_edit',
  766. 'menu_short_name' => '编辑物流公司',
  767. 'menu_type' => '1',
  768. 'icon' => '',
  769. 'api_url' => 'mall/delivery/company',
  770. 'router_path' => 'mall/order/delivery/company_edit',
  771. 'view_path' => 'mall/delivery/company_edit',
  772. 'methods' => 'put',
  773. 'sort' => '0',
  774. 'status' => '1',
  775. 'is_show' => '0',
  776. ],
  777. [
  778. 'menu_name' => '订单详情',
  779. 'menu_key' => 'mall_order_detail',
  780. 'menu_short_name' => '订单详情',
  781. 'menu_type' => '1',
  782. 'icon' => 'iconfont iconshangpinguanli',
  783. 'api_url' => 'mall/order/detail<id>',
  784. 'router_path' => 'mall/order/detail',
  785. 'view_path' => 'mall/order/detail',
  786. 'methods' => 'get',
  787. 'sort' => '0',
  788. 'status' => '1',
  789. 'is_show' => '0',
  790. ],
  791. [
  792. 'menu_name' => '物流跟踪',
  793. 'menu_key' => 'mall_config_delivery_search',
  794. 'menu_short_name' => '物流跟踪',
  795. 'menu_type' => '1',
  796. 'icon' => 'iconfont iconwuliugenzong',
  797. 'api_url' => '',
  798. 'router_path' => 'mall/order/delivery/search',
  799. 'view_path' => 'mall/delivery/search',
  800. 'methods' => 'get',
  801. 'sort' => '0',
  802. 'status' => '1',
  803. 'is_show' => '1',
  804. 'children' => [
  805. [
  806. 'menu_name' => '物流跟踪设置',
  807. 'menu_key' => 'mall_config_delivery_search_set',
  808. 'menu_short_name' => '物流跟踪设置',
  809. 'menu_type' => '2',
  810. 'icon' => '',
  811. 'api_url' => 'mall/mall/delivery/search',
  812. 'router_path' => '',
  813. 'view_path' => '',
  814. 'methods' => 'post',
  815. 'sort' => '12',
  816. 'status' => '1',
  817. 'is_show' => '1',
  818. ],
  819. ],
  820. ],
  821. [
  822. 'menu_name' => '添加评价',
  823. 'menu_key' => 'mall_goods_evaluate_add',
  824. 'menu_short_name' => '添加评价',
  825. 'menu_type' => '1',
  826. 'icon' => '',
  827. 'api_url' => 'goods/evaluate',
  828. 'router_path' => 'mall/order/evaluate/add',
  829. 'view_path' => 'mall/goods/evaluate_edit',
  830. 'methods' => 'get',
  831. 'sort' => '0',
  832. 'status' => '1',
  833. 'is_show' => '0',
  834. ],
  835. ],
  836. ],
  837. [
  838. 'menu_name' => '结算记录',
  839. 'menu_key' => 'order_settlement_list',
  840. 'menu_short_name' => '结算记录',
  841. 'parent_key' => 'shop_manage',
  842. 'menu_type' => '1',
  843. 'icon' => 'iconfont iconjiesuanjilu1',
  844. 'api_url' => '',
  845. 'router_path' => 'mall/finance/settlement',
  846. 'view_path' => 'mall/finance/settlement',
  847. 'methods' => 'get',
  848. 'sort' => '60',
  849. 'status' => '1',
  850. 'is_show' => '1',
  851. ],
  852. [
  853. 'menu_name' => '首页楼层',
  854. 'menu_key' => 'mall_index_floor',
  855. 'menu_short_name' => '首页楼层',
  856. 'parent_key' => 'diy_web',
  857. 'menu_type' => '1',
  858. 'icon' => 'element Memo',
  859. 'api_url' => '',
  860. 'router_path' => 'mall/web/floor',
  861. 'view_path' => 'mall/web/floor',
  862. 'methods' => '',
  863. 'sort' => '50',
  864. 'status' => '1',
  865. 'is_show' => '1',
  866. 'children' => [
  867. [
  868. 'menu_name' => '删除首页楼层',
  869. 'menu_key' => 'mall_index_floor_del',
  870. 'menu_short_name' => '删除首页楼层',
  871. 'menu_type' => '2',
  872. 'icon' => '',
  873. 'api_url' => 'mall/mall/web/floor/<id>',
  874. 'router_path' => '',
  875. 'view_path' => '',
  876. 'methods' => 'delete',
  877. 'sort' => '12',
  878. 'status' => '1',
  879. 'is_show' => '1',
  880. ],
  881. [
  882. 'menu_name' => '编辑首页楼层',
  883. 'menu_key' => 'mall_index_floor_edit',
  884. 'menu_short_name' => '编辑首页楼层',
  885. 'menu_type' => '2',
  886. 'icon' => '',
  887. 'api_url' => 'mall/mall/web/floor/<id>',
  888. 'router_path' => '',
  889. 'view_path' => '',
  890. 'methods' => 'put',
  891. 'sort' => '12',
  892. 'status' => '1',
  893. 'is_show' => '1',
  894. ],
  895. [
  896. 'menu_name' => '添加首页楼层',
  897. 'menu_key' => 'mall_index_floor_add',
  898. 'menu_short_name' => '添加首页楼层',
  899. 'menu_type' => '2',
  900. 'icon' => '',
  901. 'api_url' => 'mall/mall/web/floor',
  902. 'router_path' => '',
  903. 'view_path' => '',
  904. 'methods' => 'post',
  905. 'sort' => '12',
  906. 'status' => '1',
  907. 'is_show' => '1',
  908. ],
  909. ],
  910. ],
  911. [
  912. 'menu_name' => '领取记录',
  913. 'menu_key' => 'mall_coupon_get_list',
  914. 'menu_short_name' => '领取记录',
  915. 'parent_key' => 'marketing',
  916. 'menu_type' => '1',
  917. 'icon' => 'iconfont iconshangpinguanli',
  918. 'api_url' => 'coupon/get_list<id>',
  919. 'router_path' => 'mall/coupon/get_list',
  920. 'view_path' => 'mall/coupon/get_list',
  921. 'methods' => 'get',
  922. 'sort' => '0',
  923. 'status' => '1',
  924. 'is_show' => '0',
  925. ],
  926. [
  927. 'menu_name' => '领取记录',
  928. 'menu_key' => 'platform_coupon_get_list',
  929. 'menu_short_name' => '领取记录',
  930. 'parent_key' => 'marketing',
  931. 'menu_type' => '1',
  932. 'icon' => 'iconfont iconshangpinguanli',
  933. 'api_url' => 'mall/mall/goods/platform_coupon/records',
  934. 'router_path' => 'mall/marketing/platform_coupon/get_list',
  935. 'view_path' => 'mall/marketing/platform_coupon/get_list',
  936. 'methods' => 'get',
  937. 'sort' => '0',
  938. 'status' => '1',
  939. 'is_show' => '0',
  940. ],
  941. [
  942. 'menu_name' => '优惠券编辑',
  943. 'menu_key' => 'platform_coupon_edit',
  944. 'menu_short_name' => '优惠券编辑',
  945. 'parent_key' => 'marketing',
  946. 'menu_type' => '1',
  947. 'icon' => '',
  948. 'api_url' => 'mall/mall/goods/platform_coupon/edit/<id>',
  949. 'router_path' => 'mall/marketing/platform_coupon/edit',
  950. 'view_path' => 'mall/marketing/platform_coupon/edit',
  951. 'methods' => 'put',
  952. 'sort' => '0',
  953. 'status' => '1',
  954. 'is_show' => '0',
  955. ],
  956. [
  957. 'menu_name' => '优惠券添加',
  958. 'menu_key' => 'platform_coupon_add',
  959. 'menu_short_name' => '优惠券添加',
  960. 'parent_key' => 'marketing',
  961. 'menu_type' => '1',
  962. 'icon' => '',
  963. 'api_url' => 'mall/mall/goods/platform_coupon',
  964. 'router_path' => 'mall/marketing/platform_coupon/add',
  965. 'view_path' => 'mall/marketing/platform_coupon/add',
  966. 'methods' => 'post',
  967. 'sort' => '0',
  968. 'status' => '1',
  969. 'is_show' => '0',
  970. ],
  971. ];