site.php 48 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062
  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' => 'nc-iconfont nc-icon-shangpinliebiao',
  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_sku_stock_edit',
  63. 'menu_short_name' => '编辑商品规格列表库存',
  64. 'menu_type' => '2',
  65. 'icon' => '',
  66. 'api_url' => 'mall/shop/goods/sku/stock',
  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_sort_edit',
  77. 'menu_short_name' => '修改商品排序号',
  78. 'menu_type' => '2',
  79. 'icon' => '',
  80. 'api_url' => 'mall/shop/goods/sort',
  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_recycle',
  91. 'menu_short_name' => '商品恢复',
  92. 'menu_type' => '2',
  93. 'icon' => '',
  94. 'api_url' => 'mall/shop/goods/recycle',
  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_copy',
  105. 'menu_short_name' => '商品复制',
  106. 'menu_type' => '2',
  107. 'icon' => '',
  108. 'api_url' => 'mall/shop/goods/copy/<goods_id>',
  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' => 'nc-iconfont nc-icon-shangpinfenlei',
  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_update',
  163. 'menu_short_name' => '拖拽编辑商品分类',
  164. 'menu_type' => '2',
  165. 'icon' => '',
  166. 'api_url' => 'mall/shop/goods/category/update',
  167. 'router_path' => '',
  168. 'view_path' => '',
  169. 'methods' => 'post',
  170. 'sort' => '12',
  171. 'status' => '1',
  172. 'is_show' => '1',
  173. ],
  174. [
  175. 'menu_name' => '添加商品分类',
  176. 'menu_key' => 'mall_goods_category_add',
  177. 'menu_short_name' => '添加商品分类',
  178. 'menu_type' => '2',
  179. 'icon' => '',
  180. 'api_url' => 'mall/shop/goods/category',
  181. 'router_path' => '',
  182. 'view_path' => '',
  183. 'methods' => 'post',
  184. 'sort' => '12',
  185. 'status' => '1',
  186. 'is_show' => '1',
  187. ],
  188. [
  189. 'menu_name' => '编辑商品分类',
  190. 'menu_key' => 'mall_goods_category_edit',
  191. 'menu_short_name' => '编辑商品分类',
  192. 'menu_type' => '2',
  193. 'icon' => '',
  194. 'api_url' => 'mall/shop/goods/category/<id>',
  195. 'router_path' => '',
  196. 'view_path' => '',
  197. 'methods' => 'put',
  198. 'sort' => '12',
  199. 'status' => '1',
  200. 'is_show' => '1',
  201. ],
  202. [
  203. 'menu_name' => '删除商品分类',
  204. 'menu_key' => 'mall_goods_category_del',
  205. 'menu_short_name' => '删除商品分类',
  206. 'menu_type' => '2',
  207. 'icon' => '',
  208. 'api_url' => 'mall/shop/goods/category/<id>',
  209. 'router_path' => '',
  210. 'view_path' => '',
  211. 'methods' => 'delete',
  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' => 'nc-iconfont nc-icon-shangpincanshu',
  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_stat_goods',
  249. 'menu_short_name' => '商品统计',
  250. 'menu_type' => '1',
  251. 'icon' => 'nc-iconfont nc-icon-shangpintongji',
  252. 'api_url' => 'mall/stat/goods',
  253. 'router_path' => 'mall/stat/goods',
  254. 'view_path' => 'shop/stat/goods',
  255. 'methods' => 'get',
  256. 'sort' => '87',
  257. 'status' => '1',
  258. 'is_show' => '1',
  259. ],
  260. [
  261. 'menu_name' => '回收站',
  262. 'menu_key' => 'mall_goods_recycle_list',
  263. 'menu_short_name' => '回收站',
  264. 'menu_type' => '1',
  265. 'icon' => 'nc-iconfont nc-icon-huishouzhan',
  266. 'api_url' => 'goods/recycle',
  267. 'router_path' => 'mall/goods/recycle',
  268. 'view_path' => 'shop/goods/recycle',
  269. 'methods' => 'get',
  270. 'sort' => '84',
  271. 'status' => '1',
  272. 'is_show' => '1',
  273. ],
  274. [
  275. 'menu_name' => '商品编辑',
  276. 'menu_key' => 'mall_goods_real_edit',
  277. 'menu_short_name' => '商品编辑',
  278. 'menu_type' => '1',
  279. 'icon' => '',
  280. 'api_url' => 'goods/<id>',
  281. 'router_path' => 'mall/goods/real_edit',
  282. 'view_path' => 'shop/goods/real_edit',
  283. 'methods' => 'put',
  284. 'sort' => '0',
  285. 'status' => '1',
  286. 'is_show' => '0',
  287. ],
  288. [
  289. 'menu_name' => '商品添加',
  290. 'menu_key' => 'mall_goods_virtual_add',
  291. 'menu_short_name' => '商品添加',
  292. 'menu_type' => '1',
  293. 'icon' => '',
  294. 'api_url' => '',
  295. 'router_path' => 'mall/goods/virtual_edit',
  296. 'view_path' => 'shop/goods/virtual_edit',
  297. 'methods' => 'post',
  298. 'sort' => '0',
  299. 'status' => '1',
  300. 'is_show' => '0',
  301. ],
  302. [
  303. 'menu_name' => '商品编辑',
  304. 'menu_key' => 'mall_goods_virtual_edit',
  305. 'menu_short_name' => '商品编辑',
  306. 'menu_type' => '1',
  307. 'icon' => '',
  308. 'api_url' => 'goods/<id>',
  309. 'router_path' => 'mall/goods/virtual_edit',
  310. 'view_path' => 'shop/goods/virtual_edit',
  311. 'methods' => 'put',
  312. 'sort' => '0',
  313. 'status' => '1',
  314. 'is_show' => '0',
  315. ],
  316. [
  317. 'menu_name' => '商品添加',
  318. 'menu_key' => 'mall_goods_real_add',
  319. 'menu_short_name' => '商品添加',
  320. 'menu_type' => '1',
  321. 'icon' => '',
  322. 'api_url' => '',
  323. 'router_path' => 'mall/goods/real_edit',
  324. 'view_path' => 'shop/goods/real_edit',
  325. 'methods' => 'post',
  326. 'sort' => '0',
  327. 'status' => '1',
  328. 'is_show' => '0',
  329. ],
  330. [
  331. 'menu_name' => '商品删除',
  332. 'menu_key' => 'mall_goods_delete',
  333. 'menu_short_name' => '商品删除',
  334. 'menu_type' => '2',
  335. 'icon' => '',
  336. 'api_url' => 'goods/<id>',
  337. 'router_path' => '',
  338. 'view_path' => '',
  339. 'methods' => 'delete',
  340. 'sort' => '0',
  341. 'status' => '1',
  342. 'is_show' => '0',
  343. ],
  344. ],
  345. ],
  346. [
  347. 'menu_name' => '订单管理',
  348. 'menu_key' => 'mall_order',
  349. 'menu_short_name' => '订单',
  350. 'menu_type' => '0',
  351. 'icon' => 'iconfont icondingdan1',
  352. 'api_url' => '',
  353. 'router_path' => '',
  354. 'view_path' => '',
  355. 'methods' => 'get',
  356. 'sort' => '80',
  357. 'status' => '1',
  358. 'is_show' => '1',
  359. 'children' => [
  360. [
  361. 'menu_name' => '订单列表',
  362. 'menu_key' => 'mall_order_list',
  363. 'menu_short_name' => '订单列表',
  364. 'menu_type' => '1',
  365. 'icon' => 'nc-iconfont nc-icon-dingdanliebiao',
  366. 'api_url' => 'order/list',
  367. 'router_path' => 'mall/order/index',
  368. 'view_path' => 'shop/order/list',
  369. 'methods' => 'get',
  370. 'sort' => '90',
  371. 'status' => '1',
  372. 'is_show' => '1',
  373. 'children' => [
  374. [
  375. 'menu_name' => '订单关闭',
  376. 'menu_key' => 'mall_order_close',
  377. 'menu_short_name' => '订单关闭',
  378. 'menu_type' => '2',
  379. 'icon' => '',
  380. 'api_url' => 'mall/shop/order/close/<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_goods_delivery',
  391. 'menu_short_name' => '订单项发货',
  392. 'menu_type' => '2',
  393. 'icon' => '',
  394. 'api_url' => 'mall/shop/order/goods/delivery/<id>',
  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_finish',
  405. 'menu_short_name' => '订单完成',
  406. 'menu_type' => '2',
  407. 'icon' => '',
  408. 'api_url' => 'mall/shop/order/finish/<id>',
  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_shop_remark',
  419. 'menu_short_name' => '商家留言',
  420. 'menu_type' => '2',
  421. 'icon' => '',
  422. 'api_url' => 'mall/shop/order/shop_remark',
  423. 'router_path' => '',
  424. 'view_path' => '',
  425. 'methods' => 'put',
  426. 'sort' => '12',
  427. 'status' => '1',
  428. 'is_show' => '1',
  429. ],
  430. [
  431. 'menu_name' => '订单发货',
  432. 'menu_key' => 'mall_order_delivery',
  433. 'menu_short_name' => '订单发货',
  434. 'menu_type' => '2',
  435. 'icon' => '',
  436. 'api_url' => 'mall/shop/order/delivery',
  437. 'router_path' => '',
  438. 'view_path' => '',
  439. 'methods' => 'put',
  440. 'sort' => '12',
  441. 'status' => '1',
  442. 'is_show' => '1',
  443. ],
  444. ],
  445. ],
  446. [
  447. 'menu_name' => '退款维权',
  448. 'menu_key' => 'mall_order_refund',
  449. 'menu_short_name' => '退款维权',
  450. 'menu_type' => '1',
  451. 'icon' => 'nc-iconfont nc-icon-tuikuanweiquan',
  452. 'api_url' => '',
  453. 'router_path' => 'mall/order/refund',
  454. 'view_path' => 'shop/order/refund',
  455. 'methods' => 'get',
  456. 'sort' => '89',
  457. 'status' => '1',
  458. 'is_show' => '1',
  459. 'children' => [
  460. [
  461. 'menu_name' => '订单维权审核是否确认收货',
  462. 'menu_key' => 'mall_order_refund_delivery',
  463. 'menu_short_name' => '订单维权审核是否确认收货',
  464. 'menu_type' => '2',
  465. 'icon' => '',
  466. 'api_url' => 'mall/shop/order/refund/delivery/<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. 'menu_name' => '订单维权审核',
  476. 'menu_key' => 'mall_order_refund_audit',
  477. 'menu_short_name' => '订单维权审核',
  478. 'menu_type' => '2',
  479. 'icon' => '',
  480. 'api_url' => 'mall/shop/order/refund/audit/<order_refund_no>',
  481. 'router_path' => '',
  482. 'view_path' => '',
  483. 'methods' => 'put',
  484. 'sort' => '12',
  485. 'status' => '1',
  486. 'is_show' => '1',
  487. ],
  488. ],
  489. ],
  490. [
  491. 'menu_name' => '批量发货',
  492. 'menu_key' => 'mall_order_batch_delivery',
  493. 'menu_short_name' => '批量发货',
  494. 'menu_type' => '1',
  495. 'icon' => 'nc-iconfont nc-icon-piliangfahuo',
  496. 'api_url' => '',
  497. 'router_path' => 'mall/order/batch/delivery',
  498. 'view_path' => 'shop/order/batch_delivery',
  499. 'methods' => 'get',
  500. 'sort' => '88',
  501. 'status' => '1',
  502. 'is_show' => '1',
  503. ],
  504. [
  505. 'menu_name' => '商品评价',
  506. 'menu_key' => 'mall_goods_evaluate',
  507. 'menu_short_name' => '商品评价',
  508. 'menu_type' => '1',
  509. 'icon' => 'nc-iconfont nc-icon-shangpinpingjia',
  510. 'api_url' => 'goods/evaluate',
  511. 'router_path' => 'mall/order/evaluate',
  512. 'view_path' => 'shop/goods/evaluate',
  513. 'methods' => 'get',
  514. 'sort' => '87',
  515. 'status' => '1',
  516. 'is_show' => '1',
  517. 'children' => [
  518. [
  519. 'menu_name' => '添加评价',
  520. 'menu_key' => 'mall_goods_evaluate_add',
  521. 'menu_short_name' => '添加评价',
  522. 'menu_type' => '2',
  523. 'icon' => '',
  524. 'api_url' => 'mall/shop/goods/evaluate',
  525. 'router_path' => '',
  526. 'view_path' => '',
  527. 'methods' => 'post',
  528. 'sort' => '0',
  529. 'status' => '1',
  530. 'is_show' => '0',
  531. ],
  532. [
  533. 'menu_name' => '评价拒绝',
  534. 'menu_key' => 'mall_goods_evaluate_refuse',
  535. 'menu_short_name' => '评价拒绝',
  536. 'menu_type' => '2',
  537. 'icon' => '',
  538. 'api_url' => 'mall/shop/goods/evaluate/refuse/<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_del',
  549. 'menu_short_name' => '删除评价',
  550. 'menu_type' => '2',
  551. 'icon' => '',
  552. 'api_url' => 'mall/shop/goods/evaluate/<id>',
  553. 'router_path' => '',
  554. 'view_path' => '',
  555. 'methods' => 'delete',
  556. 'sort' => '0',
  557. 'status' => '1',
  558. 'is_show' => '0',
  559. ],
  560. [
  561. 'menu_name' => '评价回复',
  562. 'menu_key' => 'mall_goods_evaluate_reply',
  563. 'menu_short_name' => '评价回复',
  564. 'menu_type' => '2',
  565. 'icon' => '',
  566. 'api_url' => 'mall/shop/goods/evaluate/reply/<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_adopt',
  577. 'menu_short_name' => '评价通过',
  578. 'menu_type' => '2',
  579. 'icon' => '',
  580. 'api_url' => 'mall/shop/goods/evaluate/adopt/<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_topping',
  591. 'menu_short_name' => '评价置顶',
  592. 'menu_type' => '2',
  593. 'icon' => '',
  594. 'api_url' => 'mall/shop/goods/evaluate/topping/<id>',
  595. 'router_path' => '',
  596. 'view_path' => '',
  597. 'methods' => 'put',
  598. 'sort' => '0',
  599. 'status' => '1',
  600. 'is_show' => '0',
  601. ],
  602. [
  603. 'menu_name' => '评价取消置顶',
  604. 'menu_key' => 'mall_goods_evaluate_cancel_topping',
  605. 'menu_short_name' => '评价取消置顶',
  606. 'menu_type' => '2',
  607. 'icon' => '',
  608. 'api_url' => 'mall/shop/goods/evaluate/cancel_topping/<id>',
  609. 'router_path' => '',
  610. 'view_path' => '',
  611. 'methods' => 'put',
  612. 'sort' => '0',
  613. 'status' => '1',
  614. 'is_show' => '0',
  615. ],
  616. ],
  617. ],
  618. [
  619. 'menu_name' => '商家地址库',
  620. 'menu_key' => 'mall_address',
  621. 'menu_short_name' => '商家地址库',
  622. 'menu_type' => '1',
  623. 'icon' => 'nc-iconfont nc-icon-shangjiadizhiku',
  624. 'api_url' => '',
  625. 'router_path' => 'mall/order/address',
  626. 'view_path' => 'shop/address/list',
  627. 'methods' => 'get',
  628. 'sort' => '85',
  629. 'status' => '1',
  630. 'is_show' => '1',
  631. 'children' => [
  632. [
  633. 'menu_name' => '删除地址库',
  634. 'menu_key' => 'mall_address_delete',
  635. 'menu_short_name' => '删除地址库',
  636. 'menu_type' => '2',
  637. 'icon' => '',
  638. 'api_url' => 'mall/shop/shop_address/<id>',
  639. 'router_path' => '',
  640. 'view_path' => '',
  641. 'methods' => 'delete',
  642. 'sort' => '12',
  643. 'status' => '1',
  644. 'is_show' => '1',
  645. ],
  646. ],
  647. ],
  648. [
  649. 'menu_name' => '电子面单',
  650. 'menu_key' => 'mall_delivery_electronic_sheet',
  651. 'menu_short_name' => '电子面单',
  652. 'menu_type' => '1',
  653. 'icon' => 'nc-iconfont nc-icon-dianzimiandan',
  654. 'api_url' => '',
  655. 'router_path' => 'mall/delivery/electronic_sheet',
  656. 'view_path' => 'shop/delivery/electronic_sheet',
  657. 'methods' => 'get',
  658. 'sort' => '84',
  659. 'status' => '1',
  660. 'is_show' => '1',
  661. 'children' => [
  662. [
  663. 'menu_name' => '删除电子面单模板',
  664. 'menu_key' => 'mall_delivery_electronic_sheet_del',
  665. 'menu_short_name' => '删除电子面单模板',
  666. 'menu_type' => '2',
  667. 'icon' => '',
  668. 'api_url' => 'mall/electronic_sheet',
  669. 'router_path' => '',
  670. 'view_path' => '',
  671. 'methods' => 'delete',
  672. 'sort' => '0',
  673. 'status' => '1',
  674. 'is_show' => '0',
  675. ],
  676. ],
  677. ],
  678. [
  679. 'menu_name' => '添加/编辑地址库',
  680. 'menu_key' => 'mall_address_add_edit',
  681. 'menu_short_name' => '添加/编辑地址库',
  682. 'menu_type' => '1',
  683. 'icon' => '',
  684. 'api_url' => '',
  685. 'router_path' => 'mall/order/address/edit',
  686. 'view_path' => 'shop/address/edit',
  687. 'methods' => 'get',
  688. 'sort' => '0',
  689. 'status' => '1',
  690. 'is_show' => '0',
  691. 'children' => [
  692. [
  693. 'menu_name' => '添加地址库',
  694. 'menu_key' => 'mall_address_add',
  695. 'menu_short_name' => '添加地址库',
  696. 'menu_type' => '2',
  697. 'icon' => '',
  698. 'api_url' => 'mall/shop/shop_address',
  699. 'router_path' => '',
  700. 'view_path' => '',
  701. 'methods' => 'post',
  702. 'sort' => '12',
  703. 'status' => '1',
  704. 'is_show' => '1',
  705. ],
  706. [
  707. 'menu_name' => '编辑地址库',
  708. 'menu_key' => 'mall_address_edit',
  709. 'menu_short_name' => '编辑地址库',
  710. 'menu_type' => '2',
  711. 'icon' => '',
  712. 'api_url' => 'mall/shop/shop_address/<id>',
  713. 'router_path' => '',
  714. 'view_path' => '',
  715. 'methods' => 'put',
  716. 'sort' => '12',
  717. 'status' => '1',
  718. 'is_show' => '1',
  719. ],
  720. ],
  721. ],
  722. [
  723. 'menu_name' => '订单设置',
  724. 'menu_key' => 'mall_order_setting',
  725. 'menu_short_name' => '订单设置',
  726. 'menu_type' => '1',
  727. 'icon' => 'nc-iconfont nc-icon-dingdanshezhi',
  728. 'api_url' => 'order/setting',
  729. 'router_path' => 'shop/order/setting',
  730. 'view_path' => 'shop/order/config',
  731. 'methods' => 'get',
  732. 'sort' => '0',
  733. 'status' => '1',
  734. 'is_show' => '1',
  735. ],
  736. [
  737. 'menu_name' => '运费模版添加/编辑',
  738. 'menu_key' => 'mall_config_delivery_shipping_template_edit',
  739. 'menu_short_name' => '运费模版添加/编辑',
  740. 'menu_type' => '1',
  741. 'icon' => '',
  742. 'api_url' => '',
  743. 'router_path' => 'mall/order/shipping/template_edit',
  744. 'view_path' => 'shop/delivery/template_edit',
  745. 'methods' => 'get',
  746. 'sort' => '0',
  747. 'status' => '1',
  748. 'is_show' => '0',
  749. ],
  750. [
  751. 'menu_name' => '添加模板',
  752. 'menu_key' => 'mall_delivery_electronic_sheet_add',
  753. 'menu_short_name' => '添加电子面单模板',
  754. 'menu_type' => '1',
  755. 'icon' => '',
  756. 'api_url' => 'mall/electronic_sheet',
  757. 'router_path' => 'mall/delivery/electronic_sheet_add',
  758. 'view_path' => 'shop/delivery/electronic_sheet_edit',
  759. 'methods' => 'post',
  760. 'sort' => '0',
  761. 'status' => '1',
  762. 'is_show' => '0',
  763. ],
  764. [
  765. 'menu_name' => '编辑模板',
  766. 'menu_key' => 'mall_delivery_electronic_sheet_edit',
  767. 'menu_short_name' => '编辑电子面单模板',
  768. 'menu_type' => '1',
  769. 'icon' => '',
  770. 'api_url' => 'mall/electronic_sheet/<id>',
  771. 'router_path' => 'mall/delivery/electronic_sheet_edit',
  772. 'view_path' => 'shop/delivery/electronic_sheet_edit',
  773. 'methods' => 'put',
  774. 'sort' => '0',
  775. 'status' => '1',
  776. 'is_show' => '0',
  777. ],
  778. [
  779. 'menu_name' => '电子面单设置',
  780. 'menu_key' => 'mall_delivery_electronic_sheet_config',
  781. 'menu_short_name' => '电子面单设置',
  782. 'menu_type' => '1',
  783. 'icon' => 'iconfont icondiscount',
  784. 'api_url' => 'mall/electronic_sheet/config',
  785. 'router_path' => 'mall/delivery/electronic_sheet/config',
  786. 'view_path' => 'shop/delivery/electronic_sheet_config',
  787. 'methods' => 'get',
  788. 'sort' => '0',
  789. 'status' => '1',
  790. 'is_show' => '0',
  791. ],
  792. [
  793. 'menu_name' => '运费模板',
  794. 'menu_key' => 'mall_config_delivery_shipping_template',
  795. 'menu_short_name' => '运费模板',
  796. 'menu_type' => '1',
  797. 'icon' => 'nc-iconfont nc-icon-yunfeimoban',
  798. 'api_url' => '',
  799. 'router_path' => 'mall/order/shipping/template',
  800. 'view_path' => 'shop/delivery/template',
  801. 'methods' => 'get',
  802. 'sort' => '0',
  803. 'status' => '1',
  804. 'is_show' => '1',
  805. ],
  806. [
  807. 'menu_name' => '维权详情',
  808. 'menu_key' => 'mall_order_refund_detail',
  809. 'menu_short_name' => '维权详情',
  810. 'menu_type' => '1',
  811. 'icon' => 'iconfont iconshangpinguanli',
  812. 'api_url' => '',
  813. 'router_path' => 'mall/order/refund/detail',
  814. 'view_path' => 'shop/order/refund_detail',
  815. 'methods' => 'get',
  816. 'sort' => '0',
  817. 'status' => '1',
  818. 'is_show' => '0',
  819. ],
  820. [
  821. 'menu_name' => '订单详情',
  822. 'menu_key' => 'mall_order_detail',
  823. 'menu_short_name' => '订单详情',
  824. 'menu_type' => '1',
  825. 'icon' => 'iconfont iconshangpinguanli',
  826. 'api_url' => 'order/detail<id>',
  827. 'router_path' => 'mall/order/detail',
  828. 'view_path' => 'shop/order/detail',
  829. 'methods' => 'get',
  830. 'sort' => '0',
  831. 'status' => '1',
  832. 'is_show' => '0',
  833. ],
  834. ],
  835. ],
  836. ],
  837. ],
  838. [
  839. 'menu_name' => '优惠券',
  840. 'menu_key' => 'mall_goods_coupon_list',
  841. 'menu_short_name' => '优惠券',
  842. 'parent_key' => 'mall_goods_marketing',
  843. 'menu_type' => '1',
  844. 'icon' => 'nc-iconfont nc-icon-youhuiquan',
  845. 'api_url' => 'mall/shop/goods/coupon',
  846. 'router_path' => 'mall/marketing/coupon/list',
  847. 'view_path' => 'shop/marketing/coupon/list',
  848. 'methods' => 'get',
  849. 'sort' => '90',
  850. 'status' => '1',
  851. 'is_show' => '1',
  852. ],
  853. [
  854. 'menu_name' => '限时折扣',
  855. 'menu_key' => 'shop_goods_discount',
  856. 'menu_short_name' => '限时折扣',
  857. 'parent_key' => 'mall_goods_marketing',
  858. 'menu_type' => '1',
  859. 'icon' => 'nc-iconfont nc-icon-xianshizhekou',
  860. 'api_url' => '',
  861. 'router_path' => '',
  862. 'view_path' => '',
  863. 'methods' => 'get',
  864. 'sort' => '89',
  865. 'status' => '1',
  866. 'is_show' => '1',
  867. 'children' => [
  868. [
  869. 'menu_name' => '活动列表',
  870. 'menu_key' => 'shop_goods_discount_list',
  871. 'menu_short_name' => '活动列表',
  872. 'menu_type' => '1',
  873. 'icon' => 'nc-iconfont nc-icon-huodongliebiao',
  874. 'api_url' => 'active/discount',
  875. 'router_path' => 'mall/marketing/discount/list',
  876. 'view_path' => 'shop/marketing/discount/list',
  877. 'methods' => 'get',
  878. 'sort' => '90',
  879. 'status' => '1',
  880. 'is_show' => '1',
  881. 'children' => [
  882. [
  883. 'menu_name' => '活动删除',
  884. 'menu_key' => 'shop_goods_discount_delete',
  885. 'menu_short_name' => '活动删除',
  886. 'menu_type' => '2',
  887. 'icon' => '',
  888. 'api_url' => 'active/discount/<active_id>',
  889. 'router_path' => '',
  890. 'view_path' => '',
  891. 'methods' => 'delete',
  892. 'sort' => '0',
  893. 'status' => '1',
  894. 'is_show' => '0',
  895. ],
  896. [
  897. 'menu_name' => '活动关闭',
  898. 'menu_key' => 'shop_goods_discount_close',
  899. 'menu_short_name' => '活动关闭',
  900. 'menu_type' => '2',
  901. 'icon' => '',
  902. 'api_url' => 'active/discount/close/<active_id>',
  903. 'router_path' => '',
  904. 'view_path' => '',
  905. 'methods' => 'put',
  906. 'sort' => '0',
  907. 'status' => '1',
  908. 'is_show' => '0',
  909. ],
  910. ],
  911. ],
  912. [
  913. 'menu_name' => '活动详情',
  914. 'menu_key' => 'shop_goods_discount_detail',
  915. 'menu_short_name' => '活动详情',
  916. 'menu_type' => '1',
  917. 'icon' => '',
  918. 'api_url' => 'active/discount/<active_id>',
  919. 'router_path' => 'mall/marketing/discount/detail',
  920. 'view_path' => 'shop/marketing/discount/detail',
  921. 'methods' => 'get',
  922. 'sort' => '0',
  923. 'status' => '1',
  924. 'is_show' => '0',
  925. ],
  926. [
  927. 'menu_name' => '编辑限时折扣',
  928. 'menu_key' => 'shop_goods_discount_edit',
  929. 'menu_short_name' => '编辑限时折扣',
  930. 'menu_type' => '1',
  931. 'icon' => '',
  932. 'api_url' => 'active/discount/<active_id>',
  933. 'router_path' => 'mall/marketing/discount/edit',
  934. 'view_path' => 'shop/marketing/discount/edit',
  935. 'methods' => 'put',
  936. 'sort' => '0',
  937. 'status' => '1',
  938. 'is_show' => '0',
  939. ],
  940. [
  941. 'menu_name' => '添加限时折扣',
  942. 'menu_key' => 'shop_goods_discount_add',
  943. 'menu_short_name' => '添加限时折扣',
  944. 'menu_type' => '1',
  945. 'icon' => '',
  946. 'api_url' => 'active/discount',
  947. 'router_path' => 'mall/marketing/discount/add',
  948. 'view_path' => 'shop/marketing/discount/add',
  949. 'methods' => 'post',
  950. 'sort' => '0',
  951. 'status' => '1',
  952. 'is_show' => '0',
  953. ],
  954. ],
  955. ],
  956. [
  957. 'menu_name' => '发票管理',
  958. 'menu_key' => 'shop_invoice',
  959. 'menu_short_name' => '发票管理',
  960. 'parent_key' => 'shop_site_account',
  961. 'menu_type' => '1',
  962. 'icon' => 'nc-iconfont nc-icon-fapiaoguanli',
  963. 'api_url' => '',
  964. 'router_path' => 'shop/order/invoice',
  965. 'view_path' => 'shop/order/invoice',
  966. 'methods' => 'get',
  967. 'sort' => '88',
  968. 'status' => '1',
  969. 'is_show' => '1',
  970. 'children' => [
  971. [
  972. 'menu_name' => '开票',
  973. 'menu_key' => 'shop_invoice_open',
  974. 'menu_short_name' => '开票',
  975. 'menu_type' => '2',
  976. 'icon' => '',
  977. 'api_url' => 'invoice/<id>',
  978. 'router_path' => '',
  979. 'view_path' => '',
  980. 'methods' => 'put',
  981. 'sort' => '0',
  982. 'status' => '1',
  983. 'is_show' => '0',
  984. ],
  985. ],
  986. ],
  987. [
  988. 'menu_name' => '优惠券添加',
  989. 'menu_key' => 'mall_goods_coupon_add',
  990. 'menu_short_name' => '优惠券添加',
  991. 'parent_key' => 'mall_goods_marketing',
  992. 'menu_type' => '1',
  993. 'icon' => '',
  994. 'api_url' => 'mall/shop/goods/coupon',
  995. 'router_path' => 'mall/marketing/coupon/add',
  996. 'view_path' => 'shop/marketing/coupon/add',
  997. 'methods' => 'post',
  998. 'sort' => '0',
  999. 'status' => '1',
  1000. 'is_show' => '0',
  1001. ],
  1002. [
  1003. 'menu_name' => '营销中心',
  1004. 'menu_key' => 'mall_goods_marketing_index',
  1005. 'menu_short_name' => '营销中心',
  1006. 'parent_key' => 'mall_goods_marketing',
  1007. 'menu_type' => '1',
  1008. 'icon' => 'iconfont iconyingxiaozhongxin',
  1009. 'api_url' => '',
  1010. 'router_path' => 'mall/marketing/index',
  1011. 'view_path' => 'shop/marketing/index',
  1012. 'methods' => 'get',
  1013. 'sort' => '0',
  1014. 'status' => '1',
  1015. 'is_show' => '0',
  1016. ],
  1017. [
  1018. 'menu_name' => '优惠券领取记录',
  1019. 'menu_key' => 'mall_goods_coupon_collection',
  1020. 'menu_short_name' => '优惠券领取记录',
  1021. 'parent_key' => 'mall_goods_marketing',
  1022. 'menu_type' => '1',
  1023. 'icon' => '',
  1024. 'api_url' => '',
  1025. 'router_path' => 'mall/marketing/coupon/collection',
  1026. 'view_path' => 'shop/marketing/coupon/collection',
  1027. 'methods' => 'get',
  1028. 'sort' => '0',
  1029. 'status' => '1',
  1030. 'is_show' => '0',
  1031. ],
  1032. [
  1033. 'menu_name' => '优惠券删除',
  1034. 'menu_key' => 'mall_goods_coupon_delete',
  1035. 'menu_short_name' => '优惠券删除',
  1036. 'parent_key' => 'mall_goods_marketing',
  1037. 'menu_type' => '2',
  1038. 'icon' => '',
  1039. 'api_url' => 'mall/shop/goods/coupon/<id>',
  1040. 'router_path' => '',
  1041. 'view_path' => '',
  1042. 'methods' => 'delete',
  1043. 'sort' => '0',
  1044. 'status' => '1',
  1045. 'is_show' => '0',
  1046. ],
  1047. [
  1048. 'menu_name' => '优惠券编辑',
  1049. 'menu_key' => 'mall_goods_coupon_edit',
  1050. 'menu_short_name' => '优惠券编辑',
  1051. 'parent_key' => 'mall_goods_marketing',
  1052. 'menu_type' => '1',
  1053. 'icon' => '',
  1054. 'api_url' => 'mall/shop/goods/coupon/edit/<id>',
  1055. 'router_path' => 'mall/marketing/coupon/edit',
  1056. 'view_path' => 'shop/marketing/coupon/edit',
  1057. 'methods' => 'put',
  1058. 'sort' => '0',
  1059. 'status' => '1',
  1060. 'is_show' => '0',
  1061. ],
  1062. ];