1
2
3
4
5
6
7
8
9
10
11
12
13
14
| <?php
| // 中间件配置
| return [
| // 别名或分组
| 'alias' => [
| // 'Companychecklogin' => [
| // app\middleware\Companychecklogin::class,
| // ],
| 'CheckToken' => app\api\middleware\CheckToken::class,
|
| ],
| // 优先级设置,此数组中的中间件会按照数组中的顺序优先执行
| 'priority' => [],
| ];
|
|