event.php 428 B

1234567891011121314151617181920
  1. <?php
  2. // 事件定义文件
  3. return [
  4. 'bind' => [
  5. ],
  6. 'listen' => [
  7. 'AppInit' => [],
  8. 'HttpRun' => [],
  9. 'HttpEnd' => [],
  10. 'LogLevel' => [],
  11. 'LogWrite' => [],
  12. "role_sync"=>[app\bug\listener\RoleEvent::class],
  13. "user_sync"=>[app\bug\listener\UserEvent::class],
  14. "PlatCat"=>[app\admin\listener\PlatCat::class],
  15. ],
  16. 'subscribe' => [
  17. ],
  18. ];