ShowPromotion.php 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. <?php
  2. /**
  3. * Niushop商城系统 - 团队十年电商经验汇集巨献!
  4. * =========================================================
  5. * Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
  6. * ----------------------------------------------
  7. * 官方网址: https://www.niushop.com
  8. * =========================================================
  9. */
  10. namespace app\event;
  11. /**
  12. * 平台推广营销类展示
  13. */
  14. class ShowPromotion
  15. {
  16. /**
  17. * 活动展示
  18. * @return array
  19. */
  20. public function handle()
  21. {
  22. $data = [
  23. 'admin' => [
  24. ],
  25. 'shop' => [
  26. /* [
  27. //插件名称
  28. 'name' => 'lucky',
  29. //店铺端展示分类 shop:营销活动 member:互动营销
  30. 'show_type' => 'member',
  31. //展示主题
  32. 'title' => '刮刮卡',
  33. //展示介绍
  34. 'description' => '刮刮卡奖励',
  35. //展示图标
  36. 'icon' => 'public/static/img/lucky.png',
  37. //跳转链接
  38. 'url' => '',
  39. //是否开发中仅展示
  40. 'is_developing' => 1
  41. ],
  42. [
  43. //插件名称
  44. 'name' => 'draw',
  45. //店铺端展示分类 shop:营销活动 member:互动营销
  46. 'show_type' => 'member',
  47. //展示主题
  48. 'title' => '大转盘',
  49. //展示介绍
  50. 'description' => '大转盘奖励',
  51. //展示图标
  52. 'icon' => 'public/static/img/draw.png',
  53. //跳转链接
  54. 'url' => '',
  55. //是否开发中仅展示
  56. 'is_developing' => 1
  57. ],
  58. [
  59. //插件名称
  60. 'name' => 'crazyguess',
  61. //店铺端展示分类 shop:营销活动 member:互动营销
  62. 'show_type' => 'member',
  63. //展示主题
  64. 'title' => '疯狂猜',
  65. //展示介绍
  66. 'description' => '疯狂猜',
  67. //展示图标
  68. 'icon' => 'public/static/img/crazyguess.png',
  69. //跳转链接
  70. 'url' => '',
  71. //是否开发中仅展示
  72. 'is_developing' => 1
  73. ],
  74. [
  75. //插件名称
  76. 'name' => 'coupon_code',
  77. //展示分类(根据平台端设置,admin(平台营销),shop:店铺营销,member:会员营销, tool:应用工具)
  78. 'show_type' => 'shop',
  79. //展示主题
  80. 'title' => '优惠码',
  81. //展示介绍
  82. 'description' => '向客户发放优惠码',
  83. //展示图标
  84. 'icon' => 'public/static/img/coupon_code.png',
  85. //跳转链接
  86. 'url' => '',
  87. //是否开发中仅展示
  88. 'is_developing' => 1
  89. ],
  90. [
  91. //插件名称
  92. 'name' => 'cashier',
  93. //展示分类(根据平台端设置,admin(平台营销),shop:店铺营销,member:会员营销, tool:应用工具)
  94. 'show_type' => 'tool',
  95. //展示主题
  96. 'title' => '扫码收款',
  97. //展示介绍
  98. 'description' => '扫码收款',
  99. //展示图标
  100. 'icon' => 'public/static/img/cashier.png',
  101. //跳转链接
  102. 'url' => '',
  103. //是否开发中仅展示
  104. 'is_developing' => 1
  105. ],
  106. [
  107. //插件名称
  108. 'name' => 'appointment',
  109. //展示分类(根据平台端设置,admin(平台营销),shop:店铺营销,member:会员营销, tool:应用工具)
  110. 'show_type' => 'tool',
  111. //展示主题
  112. 'title' => '店铺预约',
  113. //展示介绍
  114. 'description' => '店铺预约',
  115. //展示图标
  116. 'icon' => 'public/static/img/appointment.png',
  117. //跳转链接
  118. 'url' => '',
  119. //是否开发中仅展示
  120. 'is_developing' => 1
  121. ],
  122. [
  123. //插件名称
  124. 'name' => 'missioncenter',
  125. //展示分类(根据平台端设置,admin(平台营销),shop:店铺营销,member:会员营销, tool:应用工具)
  126. 'show_type' => 'tool',
  127. //展示主题
  128. 'title' => '任务管理',
  129. //展示介绍
  130. 'description' => '会员完成任务奖励',
  131. //展示图标
  132. 'icon' => 'public/static/img/missioncenter.png',
  133. //跳转链接
  134. 'url' => '',
  135. //是否开发中仅展示
  136. 'is_developing' => 1
  137. ], */
  138. ]
  139. ];
  140. return $data;
  141. }
  142. }