event.php 480 B

123456789101112131415161718192021
  1. <?php
  2. // 事件定义文件
  3. return [
  4. 'bind' => [
  5. 'rolesave'=>\app\event\roleEvent::class
  6. ],
  7. 'listen' => [
  8. 'AppInit' => [],
  9. 'HttpRun' => [],
  10. 'HttpEnd' => [],
  11. 'LogLevel' => [],
  12. 'LogWrite' => [],
  13. "rolesave"=>[\app\listener\roleListen::class],
  14. "comonOrder"=>[\app\admin\listener\ComonQrd::class],
  15. "reportCode"=>[\app\admin\listener\ReportCode::class],
  16. ],
  17. 'subscribe' => [
  18. ],
  19. ];