event.php 506 B

123456789101112131415161718192021
  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. "updateSupplierGood"=>[app\admin\listener\updateSupplierGood::class],
  16. ],
  17. 'subscribe' => [
  18. ],
  19. ];