event.php 565 B

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