event.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?php
  2. // 事件定义文件
  3. return [
  4. 'bind' => [
  5. ],
  6. 'listen' => [
  7. //展示活动
  8. 'ShowPromotion' => [
  9. 'addon\shopcomponent\event\ShowPromotion',
  10. ],
  11. 'WeappMenu' => [
  12. 'addon\shopcomponent\event\WeappMenu',
  13. ],
  14. 'GoodsEdit' => [
  15. 'addon\shopcomponent\event\GoodsEdit'
  16. ],
  17. // 商品删除
  18. 'DeleteGoods' => [
  19. 'addon\shopcomponent\event\DeleteGoods'
  20. ],
  21. // 订单支付成功
  22. 'OrderPay' => [
  23. 'addon\shopcomponent\event\OrderPay'
  24. ],
  25. // 发货成功
  26. 'OrderDelivery' => [
  27. 'addon\shopcomponent\event\OrderDelivery'
  28. ],
  29. // 订单收货
  30. 'OrderTakeDelivery' => [
  31. 'addon\shopcomponent\event\OrderTakeDelivery'
  32. ],
  33. // 发起维权申请
  34. 'orderRefundApply' => [
  35. 'addon\shopcomponent\event\OrderRefundApply'
  36. ],
  37. // 维权状态变更
  38. 'RefundStatusChange' => [
  39. 'addon\shopcomponent\event\RefundStatusChange'
  40. ],
  41. // 同步微信类目
  42. 'SyncWxCategory' => [
  43. 'addon\shopcomponent\event\SyncWxCategory'
  44. ],
  45. // 异步回调
  46. 'shopcomponentNotify' => [
  47. 'addon\shopcomponent\event\ShopcomponentNotify'
  48. ]
  49. ],
  50. 'subscribe' => [
  51. ],
  52. ];