menu_shop.php 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | 平台端菜单设置
  4. // +----------------------------------------------------------------------
  5. return [
  6. [
  7. 'name' => 'PROMOTION_COUPON',
  8. 'title' => '优惠券',
  9. 'url' => 'coupon://shop/coupon/lists',
  10. 'parent' => 'PROMOTION_CENTER',
  11. 'is_show' => 1,
  12. 'is_control' => 1,
  13. 'is_icon' => 0,
  14. 'picture' => '',
  15. 'picture_select' => '',
  16. 'sort' => 3,
  17. 'child_list' => [
  18. [
  19. 'name' => 'PROMOTION_COUPON_LIST',
  20. 'title' => '优惠券列表',
  21. 'url' => 'coupon://shop/coupon/lists',
  22. 'is_show' => 1,
  23. 'is_control' => 1,
  24. 'sort' => 1,
  25. 'is_icon' => 0,
  26. ],
  27. [
  28. 'name' => 'MEMBER_ACCOUNT_MEMBER_COUPON',
  29. 'title' => '会员优惠券',
  30. 'url' => 'shop/memberaccount/coupon',
  31. 'is_show' => 1,
  32. 'sort' => 2,
  33. ],
  34. [
  35. 'name' => 'PROMOTION_COUPON_DETAIL',
  36. 'title' => '优惠券详情',
  37. 'url' => 'coupon://shop/coupon/detail',
  38. 'sort' => 1,
  39. 'is_show' => 0
  40. ],
  41. [
  42. 'name' => 'PROMOTION_COUPON_ADD',
  43. 'title' => '添加优惠券',
  44. 'url' => 'coupon://shop/coupon/add',
  45. 'sort' => 1,
  46. 'is_show' => 0
  47. ],
  48. [
  49. 'name' => 'PROMOTION_COUPON_EDIT',
  50. 'title' => '编辑优惠券',
  51. 'url' => 'coupon://shop/coupon/edit',
  52. 'sort' => 1,
  53. 'is_show' => 0
  54. ],
  55. [
  56. 'name' => 'PROMOTION_COUPON_CLOSE',
  57. 'title' => '关闭优惠券',
  58. 'url' => 'coupon://shop/coupon/close',
  59. 'sort' => 1,
  60. 'is_show' => 0
  61. ],
  62. [
  63. 'name' => 'PROMOTION_COUPON_DELETE',
  64. 'title' => '删除优惠券',
  65. 'url' => 'coupon://shop/coupon/delete',
  66. 'sort' => 1,
  67. 'is_show' => 0
  68. ],
  69. [
  70. 'name' => 'PROMOTION_COUPON_RECEIVE',
  71. 'title' => '优惠券领取记录',
  72. 'url' => 'coupon://shop/coupon/receive',
  73. 'sort' => 1,
  74. 'is_show' => 0
  75. ],
  76. ]
  77. ],
  78. ];