event.php 697 B

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