1
0

event.php 812 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. // 事件定义文件
  3. use app\common\listener\ExternalPlatformListener;
  4. use app\common\listener\NoticeListener;
  5. use app\common\listener\PropertyCommissionListener;
  6. use app\common\listener\ReverseCouponToActivityListener;
  7. return [
  8. 'bind' => [
  9. ],
  10. 'listen' => [
  11. 'AppInit' => [],
  12. 'HttpRun' => [],
  13. 'HttpEnd' => [],
  14. 'LogLevel' => [],
  15. 'LogWrite' => [],
  16. // 通知
  17. 'Notice' => [NoticeListener::class],
  18. // 物业分成
  19. 'PropertyCommission' => [PropertyCommissionListener::class],
  20. // 优惠券逆向为活动工单+代理订单
  21. 'ReverseCouponToActivity' => [ReverseCouponToActivityListener::class],
  22. 'ExternalPlatform' => [ExternalPlatformListener::class],
  23. ],
  24. 'subscribe' => [
  25. ],
  26. ];