menu_shop.php 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | 平台端菜单设置
  4. // +----------------------------------------------------------------------
  5. return [
  6. [
  7. 'name' => 'LIVE_ROOT',
  8. 'title' => '小程序直播',
  9. 'url' => 'live://shop/room/index',
  10. 'picture' => 'addon/live/shop/view/public/img/live_new.png',
  11. 'picture_selected' => 'addon/live/shop/view/public/img/live_select.png',
  12. 'parent' => 'PROMOTION_TOOL',
  13. 'is_show' => 1,
  14. 'sort' => 1,
  15. 'child_list' => [
  16. [
  17. 'name' => 'LIVE_ROOM',
  18. 'title' => '直播间',
  19. 'url' => 'live://shop/room/index',
  20. 'is_show' => 1,
  21. 'sort' => 1,
  22. 'child_list' => [
  23. [
  24. 'name' => 'ADD_LIVE_ROOM',
  25. 'title' => '添加直播间',
  26. 'url' => 'live://shop/room/add',
  27. 'is_show' => 0,
  28. 'sort' => 1,
  29. ],
  30. [
  31. 'name' => 'DELETE_LIVE_ROOM',
  32. 'title' => '删除直播间',
  33. 'url' => 'live://shop/room/delete',
  34. 'is_show' => 0,
  35. 'sort' => 2,
  36. ],
  37. [
  38. 'name' => 'LIVE_ROOM_OPERATE',
  39. 'title' => '运营',
  40. 'url' => 'live://shop/room/operate',
  41. 'is_show' => 0,
  42. 'sort' => 3,
  43. ],
  44. [
  45. 'name' => 'SYNC_LIVE_ROOM',
  46. 'title' => '同步直播间',
  47. 'url' => 'live://shop/room/sync',
  48. 'is_show' => 0,
  49. 'sort' => 4,
  50. ],
  51. [
  52. 'name' => 'ADD_GOODS_TO_LIVE_ROOM',
  53. 'title' => '添加商品到直播间',
  54. 'url' => 'live://shop/room/addGoods',
  55. 'is_show' => 0,
  56. 'sort' => 5,
  57. ]
  58. ]
  59. ],
  60. [
  61. 'name' => 'LIVE_GOODS',
  62. 'title' => '直播商品',
  63. 'url' => 'live://shop/goods/index',
  64. 'is_show' => 1,
  65. 'sort' => 2,
  66. 'child_list' => [
  67. [
  68. 'name' => 'ADD_LIVE_GOODS',
  69. 'title' => '添加商品',
  70. 'url' => 'live://shop/goods/add',
  71. 'is_show' => 0,
  72. 'sort' => 1,
  73. ],
  74. [
  75. 'name' => 'DELETE_LIVE_GOODS',
  76. 'title' => '删除商品',
  77. 'url' => 'live://shop/goods/delete',
  78. 'is_show' => 0,
  79. 'sort' => 2,
  80. ],
  81. [
  82. 'name' => 'SYNC_LIVE_GOODS',
  83. 'title' => '同步直播商品库',
  84. 'url' => 'live://shop/goods/sync',
  85. 'is_show' => 0,
  86. 'sort' => 3,
  87. ]
  88. ]
  89. ],
  90. ]
  91. ]
  92. ];