初始化仓库
This commit is contained in:
22
app/event.php
Normal file
22
app/event.php
Normal file
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
// 事件定义文件
|
||||
use app\common\listener\NoticeListener;
|
||||
|
||||
return [
|
||||
'bind' => [
|
||||
],
|
||||
|
||||
'listen' => [
|
||||
'AppInit' => [],
|
||||
'HttpRun' => [],
|
||||
'HttpEnd' => [],
|
||||
'LogLevel' => [],
|
||||
'LogWrite' => [],
|
||||
|
||||
// 通知
|
||||
'Notice' => [NoticeListener::class],
|
||||
],
|
||||
|
||||
'subscribe' => [
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user