event.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?php
  2. return [
  3. 'client_message.delivery' => [
  4. [\app\event\ClientMessageEvent::class, 'delivery']
  5. ],
  6. 'client_message.refund' => [
  7. [\app\event\ClientMessageEvent::class, 'refund']
  8. ],
  9. 'client_message.return_status' => [
  10. [\app\event\ClientMessageEvent::class, 'returnStatus']
  11. ],
  12. 'order.kangyangCityVIP.grant' => [
  13. [\app\event\order\KangyangCityEvent::class, 'grant']
  14. ],
  15. 'order.partner.grant' => [
  16. [\app\event\order\PartnerEvent::class, 'grant']
  17. ],
  18. 'order.franchisee.grant' => [
  19. [\app\event\order\FranchiseeEvent::class, 'grant']
  20. ],
  21. 'order.referrer.grant' => [
  22. [\app\event\order\ReferrerEvent::class, 'grant']
  23. ],
  24. 'order.new_custom.grant' => [
  25. [\app\event\order\NewCustomerEvent::class, 'grant']
  26. ],
  27. 'order_pay.member_level.up' => [
  28. [\app\event\MemberLevelEvent::class, 'payOrderLevelUp']
  29. ],
  30. 'order.complete' => [
  31. [\app\event\order\OrderProcessEvent::class, 'orderComplete']
  32. ],
  33. 'order.write_off' => [
  34. [\app\event\order\OrderProcessEvent::class, 'orderWriteOff']
  35. ],
  36. 'commission.order' => [
  37. [\app\event\order\CommissionEvent::class, 'order']
  38. ],
  39. 'statistics.inout.in' => [
  40. [\app\event\statistics\InOutEvent::class, 'dataIn']
  41. ],
  42. 'statistics.inout.out' => [
  43. [\app\event\statistics\InOutEvent::class, 'dataOut']
  44. ]
  45. ];