site.php 44 KB

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