2020-01-01 13:17:19 +08:00
|
|
|
<?php
|
|
|
|
// 中间件配置
|
|
|
|
return [
|
|
|
|
// 别名或分组
|
|
|
|
'alias' => [
|
2020-11-30 17:13:55 +08:00
|
|
|
'logedcheck' => \app\middleware\LogedCheck::class,
|
|
|
|
'logincheck' => \app\middleware\LoginCheck::class,
|
|
|
|
'message' => \app\middleware\Message::class,
|
2020-01-01 13:17:19 +08:00
|
|
|
],
|
|
|
|
// 优先级设置,此数组中的中间件会按照数组中的顺序优先执行
|
|
|
|
'priority' => [],
|
|
|
|
];
|