admin.php 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854
  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_status_audit_offline',
  110. 'menu_short_name' => '商品审核强制下架',
  111. 'menu_type' => '2',
  112. 'icon' => '',
  113. 'api_url' => 'mall/mall/goods/offline',
  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_edit_label',
  124. 'menu_short_name' => '修改商品标签',
  125. 'menu_type' => '2',
  126. 'icon' => '',
  127. 'api_url' => 'mall/mall/goods/edit_label',
  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_pass',
  138. 'menu_short_name' => '商品审核通过',
  139. 'menu_type' => '2',
  140. 'icon' => '',
  141. 'api_url' => 'mall/mall/goods/audit',
  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_refuse',
  152. 'menu_short_name' => '商品审核拒绝',
  153. 'menu_type' => '2',
  154. 'icon' => '',
  155. 'api_url' => 'mall/mall/goods/refuse',
  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_add',
  398. 'menu_short_name' => '添加商品品牌',
  399. 'menu_type' => '2',
  400. 'icon' => '',
  401. 'api_url' => 'mall/mall/goods/brand',
  402. 'router_path' => '',
  403. 'view_path' => '',
  404. 'methods' => 'post',
  405. 'sort' => '12',
  406. 'status' => '1',
  407. 'is_show' => '1',
  408. ],
  409. [
  410. 'menu_name' => '编辑商品品牌',
  411. 'menu_key' => 'mall_goods_brand_edit',
  412. 'menu_short_name' => '编辑商品品牌',
  413. 'menu_type' => '2',
  414. 'icon' => '',
  415. 'api_url' => 'mall/mall/goods/brand/<id>',
  416. 'router_path' => '',
  417. 'view_path' => '',
  418. 'methods' => 'put',
  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_order',
  504. 'menu_short_name' => '订单',
  505. 'parent_key' => '',
  506. 'menu_type' => '0',
  507. 'icon' => 'iconfont-icondingdan',
  508. 'api_url' => '',
  509. 'router_path' => '',
  510. 'view_path' => '',
  511. 'methods' => 'get',
  512. 'sort' => '80',
  513. 'status' => '1',
  514. 'is_show' => '1',
  515. 'children' => [
  516. [
  517. 'menu_name' => '订单列表',
  518. 'menu_key' => 'mall_order_list',
  519. 'menu_short_name' => '订单列表',
  520. 'menu_type' => '1',
  521. 'icon' => 'iconfont-icona-dingdanliebiao',
  522. 'api_url' => 'order/list',
  523. 'router_path' => 'mall/order/index',
  524. 'view_path' => 'mall/order/list',
  525. 'methods' => 'get',
  526. 'sort' => '90',
  527. 'status' => '1',
  528. 'is_show' => '1',
  529. ],
  530. [
  531. 'menu_name' => '退款维权',
  532. 'menu_key' => 'mall_order_refund',
  533. 'menu_short_name' => '退款维权',
  534. 'menu_type' => '1',
  535. 'icon' => 'iconfont-icondingdanweiquan',
  536. 'api_url' => '',
  537. 'router_path' => 'mall/order/refund',
  538. 'view_path' => 'mall/order/refund',
  539. 'methods' => 'get',
  540. 'sort' => '89',
  541. 'status' => '1',
  542. 'is_show' => '1',
  543. ],
  544. [
  545. 'menu_name' => '商品评价',
  546. 'menu_key' => 'mall_goods_evaluate',
  547. 'menu_short_name' => '商品评价',
  548. 'menu_type' => '1',
  549. 'icon' => 'iconfont-iconshangpinpinglun',
  550. 'api_url' => 'goods/evaluate',
  551. 'router_path' => 'mall/order/evaluate',
  552. 'view_path' => 'mall/goods/evaluate',
  553. 'methods' => 'get',
  554. 'sort' => '87',
  555. 'status' => '1',
  556. 'is_show' => '1',
  557. ],
  558. [
  559. 'menu_name' => '订单设置',
  560. 'menu_key' => 'mall_config_order',
  561. 'menu_short_name' => '订单设置',
  562. 'menu_type' => '1',
  563. 'icon' => 'iconfont-iconjiaoyishezhi',
  564. 'api_url' => '',
  565. 'router_path' => 'mall/order/order/config',
  566. 'view_path' => 'mall/order/config',
  567. 'methods' => '',
  568. 'sort' => '86',
  569. 'status' => '1',
  570. 'is_show' => '1',
  571. 'children' => [
  572. [
  573. 'menu_name' => '设置',
  574. 'menu_key' => 'mall_config_order_set',
  575. 'menu_short_name' => '设置',
  576. 'menu_type' => '2',
  577. 'icon' => '',
  578. 'api_url' => 'mall/mall/order/config',
  579. 'router_path' => '',
  580. 'view_path' => '',
  581. 'methods' => 'post',
  582. 'sort' => '12',
  583. 'status' => '1',
  584. 'is_show' => '1',
  585. ],
  586. ],
  587. ],
  588. [
  589. 'menu_name' => '维权详情',
  590. 'menu_key' => 'mall_order_refund_detail',
  591. 'menu_short_name' => '维权详情',
  592. 'menu_type' => '1',
  593. 'icon' => 'iconfont-iconshangpinguanli',
  594. 'api_url' => 'mall/order/refund<id>',
  595. 'router_path' => 'mall/order/refund/detail',
  596. 'view_path' => 'mall/order/refund_detail',
  597. 'methods' => 'get',
  598. 'sort' => '0',
  599. 'status' => '1',
  600. 'is_show' => '0',
  601. ],
  602. [
  603. 'menu_name' => '物流公司',
  604. 'menu_key' => 'mall_config_delivery_company',
  605. 'menu_short_name' => '物流公司',
  606. 'menu_type' => '1',
  607. 'icon' => 'iconfont-icona-Group844',
  608. 'api_url' => '',
  609. 'router_path' => 'mall/order/delivery/company',
  610. 'view_path' => 'mall/delivery/company',
  611. 'methods' => 'get',
  612. 'sort' => '0',
  613. 'status' => '1',
  614. 'is_show' => '1',
  615. 'children' => [
  616. [
  617. 'menu_name' => '物流公司添加',
  618. 'menu_key' => 'mall_config_delivery_company_add',
  619. 'menu_short_name' => '物流公司添加',
  620. 'menu_type' => '2',
  621. 'icon' => '',
  622. 'api_url' => 'mall/mall/delivery/company',
  623. 'router_path' => '',
  624. 'view_path' => '',
  625. 'methods' => 'post',
  626. 'sort' => '12',
  627. 'status' => '1',
  628. 'is_show' => '1',
  629. ],
  630. [
  631. 'menu_name' => '物流公司删除',
  632. 'menu_key' => 'mall_config_delivery_company_del',
  633. 'menu_short_name' => '物流公司删除',
  634. 'menu_type' => '2',
  635. 'icon' => '',
  636. 'api_url' => 'mall/mall/delivery/company/<id>',
  637. 'router_path' => '',
  638. 'view_path' => '',
  639. 'methods' => 'delete',
  640. 'sort' => '12',
  641. 'status' => '1',
  642. 'is_show' => '1',
  643. ],
  644. [
  645. 'menu_name' => '物流公司编辑',
  646. 'menu_key' => 'mall_config_delivery_company_edit',
  647. 'menu_short_name' => '物流公司编辑',
  648. 'menu_type' => '2',
  649. 'icon' => '',
  650. 'api_url' => 'mall/mall/delivery/company/<id>',
  651. 'router_path' => '',
  652. 'view_path' => '',
  653. 'methods' => 'put',
  654. 'sort' => '12',
  655. 'status' => '1',
  656. 'is_show' => '1',
  657. ],
  658. ],
  659. ],
  660. [
  661. 'menu_name' => '订单详情',
  662. 'menu_key' => 'mall_order_detail',
  663. 'menu_short_name' => '订单详情',
  664. 'menu_type' => '1',
  665. 'icon' => 'iconfont-iconshangpinguanli',
  666. 'api_url' => 'mall/order/detail<id>',
  667. 'router_path' => 'mall/order/detail',
  668. 'view_path' => 'mall/order/detail',
  669. 'methods' => 'get',
  670. 'sort' => '0',
  671. 'status' => '1',
  672. 'is_show' => '0',
  673. ],
  674. [
  675. 'menu_name' => '物流跟踪',
  676. 'menu_key' => 'mall_config_delivery_search',
  677. 'menu_short_name' => '物流跟踪',
  678. 'menu_type' => '1',
  679. 'icon' => 'iconfont-iconwuliugenzong',
  680. 'api_url' => '',
  681. 'router_path' => 'mall/order/delivery/search',
  682. 'view_path' => 'mall/delivery/search',
  683. 'methods' => 'get',
  684. 'sort' => '0',
  685. 'status' => '1',
  686. 'is_show' => '1',
  687. 'children' => [
  688. [
  689. 'menu_name' => '物流跟踪设置',
  690. 'menu_key' => 'mall_config_delivery_search_set',
  691. 'menu_short_name' => '物流跟踪设置',
  692. 'menu_type' => '2',
  693. 'icon' => '',
  694. 'api_url' => 'mall/mall/delivery/search',
  695. 'router_path' => '',
  696. 'view_path' => '',
  697. 'methods' => 'post',
  698. 'sort' => '12',
  699. 'status' => '1',
  700. 'is_show' => '1',
  701. ],
  702. ],
  703. ],
  704. [
  705. 'menu_name' => '添加评价',
  706. 'menu_key' => 'mall_goods_evaluate_add',
  707. 'menu_short_name' => '添加评价',
  708. 'menu_type' => '1',
  709. 'icon' => '',
  710. 'api_url' => 'goods/evaluate',
  711. 'router_path' => 'mall/order/evaluate/add',
  712. 'view_path' => 'mall/goods/evaluate_edit',
  713. 'methods' => 'get',
  714. 'sort' => '0',
  715. 'status' => '1',
  716. 'is_show' => '0',
  717. ],
  718. ],
  719. ],
  720. [
  721. 'menu_name' => '结算记录',
  722. 'menu_key' => 'order_settlement_list',
  723. 'menu_short_name' => '结算记录',
  724. 'parent_key' => 'shop_manage',
  725. 'menu_type' => '1',
  726. 'icon' => 'iconfont-iconjiesuanjilu1',
  727. 'api_url' => '',
  728. 'router_path' => 'mall/finance/settlement',
  729. 'view_path' => 'mall/finance/settlement',
  730. 'methods' => 'get',
  731. 'sort' => '60',
  732. 'status' => '1',
  733. 'is_show' => '1',
  734. ],
  735. [
  736. 'menu_name' => '首页楼层',
  737. 'menu_key' => 'mall_index_floor',
  738. 'menu_short_name' => '首页楼层',
  739. 'parent_key' => 'diy_web',
  740. 'menu_type' => '1',
  741. 'icon' => 'element-Memo',
  742. 'api_url' => '',
  743. 'router_path' => 'mall/web/floor',
  744. 'view_path' => 'mall/web/floor',
  745. 'methods' => '',
  746. 'sort' => '50',
  747. 'status' => '1',
  748. 'is_show' => '1',
  749. 'children' => [
  750. [
  751. 'menu_name' => '添加首页楼层',
  752. 'menu_key' => 'mall_index_floor_add',
  753. 'menu_short_name' => '添加首页楼层',
  754. 'menu_type' => '2',
  755. 'icon' => '',
  756. 'api_url' => 'mall/mall/web/floor',
  757. 'router_path' => '',
  758. 'view_path' => '',
  759. 'methods' => 'post',
  760. 'sort' => '12',
  761. 'status' => '1',
  762. 'is_show' => '1',
  763. ],
  764. [
  765. 'menu_name' => '编辑首页楼层',
  766. 'menu_key' => 'mall_index_floor_edit',
  767. 'menu_short_name' => '编辑首页楼层',
  768. 'menu_type' => '2',
  769. 'icon' => '',
  770. 'api_url' => 'mall/mall/web/floor/<id>',
  771. 'router_path' => '',
  772. 'view_path' => '',
  773. 'methods' => 'put',
  774. 'sort' => '12',
  775. 'status' => '1',
  776. 'is_show' => '1',
  777. ],
  778. [
  779. 'menu_name' => '删除首页楼层',
  780. 'menu_key' => 'mall_index_floor_del',
  781. 'menu_short_name' => '删除首页楼层',
  782. 'menu_type' => '2',
  783. 'icon' => '',
  784. 'api_url' => 'mall/mall/web/floor/<id>',
  785. 'router_path' => '',
  786. 'view_path' => '',
  787. 'methods' => 'delete',
  788. 'sort' => '12',
  789. 'status' => '1',
  790. 'is_show' => '1',
  791. ],
  792. ],
  793. ],
  794. [
  795. 'menu_name' => '优惠券添加',
  796. 'menu_key' => 'platform_coupon_add',
  797. 'menu_short_name' => '优惠券添加',
  798. 'parent_key' => 'marketing',
  799. 'menu_type' => '1',
  800. 'icon' => '',
  801. 'api_url' => 'mall/mall/goods/platform_coupon',
  802. 'router_path' => 'mall/marketing/platform_coupon/add',
  803. 'view_path' => 'mall/marketing/platform_coupon/add',
  804. 'methods' => 'post',
  805. 'sort' => '0',
  806. 'status' => '1',
  807. 'is_show' => '0',
  808. ],
  809. [
  810. 'menu_name' => '优惠券编辑',
  811. 'menu_key' => 'platform_coupon_edit',
  812. 'menu_short_name' => '优惠券编辑',
  813. 'parent_key' => 'marketing',
  814. 'menu_type' => '1',
  815. 'icon' => '',
  816. 'api_url' => 'mall/mall/goods/platform_coupon/edit/<id>',
  817. 'router_path' => 'mall/marketing/platform_coupon/edit',
  818. 'view_path' => 'mall/marketing/platform_coupon/edit',
  819. 'methods' => 'put',
  820. 'sort' => '0',
  821. 'status' => '1',
  822. 'is_show' => '0',
  823. ],
  824. [
  825. 'menu_name' => '领取记录',
  826. 'menu_key' => 'platform_coupon_get_list',
  827. 'menu_short_name' => '领取记录',
  828. 'parent_key' => 'marketing',
  829. 'menu_type' => '1',
  830. 'icon' => 'iconfont-iconshangpinguanli',
  831. 'api_url' => 'mall/mall/goods/platform_coupon/records',
  832. 'router_path' => 'mall/marketing/platform_coupon/get_list',
  833. 'view_path' => 'mall/marketing/platform_coupon/get_list',
  834. 'methods' => 'get',
  835. 'sort' => '0',
  836. 'status' => '1',
  837. 'is_show' => '0',
  838. ],
  839. [
  840. 'menu_name' => '领取记录',
  841. 'menu_key' => 'mall_coupon_get_list',
  842. 'menu_short_name' => '领取记录',
  843. 'parent_key' => 'marketing',
  844. 'menu_type' => '1',
  845. 'icon' => 'iconfont-iconshangpinguanli',
  846. 'api_url' => 'coupon/get_list<id>',
  847. 'router_path' => 'mall/coupon/get_list',
  848. 'view_path' => 'mall/coupon/get_list',
  849. 'methods' => 'get',
  850. 'sort' => '0',
  851. 'status' => '1',
  852. 'is_show' => '0',
  853. ],
  854. ];