menu_shop.php 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | 店铺端菜单设置
  4. // +----------------------------------------------------------------------
  5. return [
  6. [
  7. 'name' => 'SERVICER',
  8. 'title' => '客服管理',
  9. 'url' => 'servicer://shop/servicer/index',
  10. 'parent' => 'PROMOTION_ROOT',
  11. 'is_show' => 1,
  12. 'is_control' => 1,
  13. 'picture' => 'addon/servicer/shop/view/public/img/service_new.png',
  14. 'picture_selected' => 'addon/servicer/shop/view/public/img/service_select.png',
  15. 'is_icon' => 0,
  16. 'sort' => 100,
  17. 'child_list' => [
  18. [
  19. 'name' => 'SERVICER_MANAGER',
  20. 'title' => '客服列表',
  21. 'url' => 'servicer://shop/servicer/index',
  22. 'is_show' => 1,
  23. 'is_control' => 1,
  24. 'is_icon' => 0,
  25. 'sort' => 1,
  26. 'child_list' => [
  27. [
  28. 'name' => 'SERVICE_MANAGER_ADD',
  29. 'title' => '添加客服',
  30. 'url' => 'servicer://shop/servicer/add',
  31. 'is_show' => 1,
  32. 'is_control' => 1,
  33. 'is_icon' => 0,
  34. 'sort' => 100,
  35. ],
  36. [
  37. 'name' => 'SERVICE_MANAGER_EDIT',
  38. 'title' => '编辑客服',
  39. 'url' => 'servicer://shop/servicer/edit',
  40. 'is_show' => 1,
  41. 'is_control' => 1,
  42. 'is_icon' => 0,
  43. 'sort' => 100,
  44. ],
  45. [
  46. 'name' => 'SERVICE_MANAGER_DELETE',
  47. 'title' => '删除客服',
  48. 'url' => 'servicer://shop/servicer/delete',
  49. 'is_show' => 0,
  50. 'is_control' => 1,
  51. 'is_icon' => 0,
  52. 'sort' => 100,
  53. ],
  54. ]
  55. ],
  56. [
  57. 'name' => 'SERVICER_GROUP',
  58. 'title' => '客服分组',
  59. 'url' => 'servicer://shop/group/index',
  60. 'is_show' => 1,
  61. 'is_control' => 1,
  62. 'is_icon' => 0,
  63. 'sort' => 2,
  64. 'child_list' => [
  65. [
  66. 'name' => 'SERVICER_GROUP_ADD',
  67. 'title' => '添加分组',
  68. 'url' => 'servicer://shop/group/add',
  69. 'is_show' => 1,
  70. 'is_control' => 1,
  71. 'is_icon' => 0,
  72. 'sort' => 100,
  73. ],
  74. [
  75. 'name' => 'SERVICER_GROUP_EDIT',
  76. 'title' => '编辑分组',
  77. 'url' => 'servicer://shop/group/edit',
  78. 'is_show' => 1,
  79. 'is_control' => 1,
  80. 'is_icon' => 0,
  81. 'sort' => 100,
  82. ],
  83. [
  84. 'name' => 'SERVICER_GROUP_DELETE',
  85. 'title' => '删除分组',
  86. 'url' => 'servicer://shop/group/delete',
  87. 'is_show' => 0,
  88. 'is_control' => 1,
  89. 'is_icon' => 0,
  90. 'sort' => 100,
  91. ],
  92. ]
  93. ],
  94. [
  95. 'name' => 'SERVICER_KEYWORD_REPLY',
  96. 'title' => '关键词回复',
  97. 'url' => 'servicer://shop/keyword/index',
  98. 'is_show' => 1,
  99. 'is_control' => 1,
  100. 'is_icon' => 0,
  101. 'sort' => 4,
  102. 'child_list' => [
  103. [
  104. 'name' => 'SERVICER_KEYWORD_REPLY_ADD',
  105. 'title' => '添加关键词',
  106. 'url' => 'servicer://shop/keyword/add',
  107. 'is_show' => 1,
  108. 'is_control' => 1,
  109. 'is_icon' => 0,
  110. 'sort' => 1,
  111. ],
  112. [
  113. 'name' => 'SERVICER_KEYWORD_REPLY_EDIT',
  114. 'title' => '编辑关键词',
  115. 'url' => 'servicer://shop/keyword/edit',
  116. 'is_show' => 1,
  117. 'is_control' => 1,
  118. 'is_icon' => 0,
  119. 'sort' => 2,
  120. ],
  121. [
  122. 'name' => 'SERVICER_KEYWORD_REPLY_DELETE',
  123. 'title' => '删除关键词',
  124. 'url' => 'servicer://shop/keyword/delete',
  125. 'is_show' => 0,
  126. 'is_control' => 1,
  127. 'is_icon' => 0,
  128. 'sort' => 3,
  129. ],
  130. ]
  131. ],
  132. [
  133. 'name' => 'SERVICER_FAST_REPLY',
  134. 'title' => '快捷回复',
  135. 'url' => 'servicer://shop/fast/index',
  136. 'is_show' => 1,
  137. 'is_control' => 1,
  138. 'is_icon' => 0,
  139. 'sort' => 5,
  140. 'child_list' => [
  141. [
  142. 'name' => 'SERVICER_KEYWORD_FAST_ADD',
  143. 'title' => '添加快捷回复',
  144. 'url' => 'servicer://shop/fast/add',
  145. 'is_show' => 1,
  146. 'is_control' => 1,
  147. 'is_icon' => 0,
  148. 'sort' => 1,
  149. ],
  150. [
  151. 'name' => 'SERVICER_KEYWORD_FAST_EDIT',
  152. 'title' => '编辑快捷回复',
  153. 'url' => 'servicer://shop/fast/edit',
  154. 'is_show' => 1,
  155. 'is_control' => 1,
  156. 'is_icon' => 0,
  157. 'sort' => 2,
  158. ],
  159. [
  160. 'name' => 'SERVICER_KEYWORD_FAST_DELETE',
  161. 'title' => '删除快捷回复',
  162. 'url' => 'servicer://shop/fast/delete',
  163. 'is_show' => 0,
  164. 'is_control' => 1,
  165. 'is_icon' => 0,
  166. 'sort' => 3,
  167. ],
  168. ]
  169. ],
  170. ]
  171. ]
  172. ];