更新
This commit is contained in:
1 parent
a37870c93b
commit
d8e43f9e93
63 files changed
+2169
-230
No files matched your search
+10
-4
@@ -1,8 +1,14 @@
|
||||
<?php
|
||||
// 中间件配置
|
||||
return [
|
||||
// 别名或分组
|
||||
'alias' => [],
|
||||
// 优先级设置,此数组中的中间件会按照数组中的顺序优先执行
|
||||
'priority' => [],
|
||||
// 别名或分组
|
||||
'alias' => [],
|
||||
// 优先级设置,此数组中的中间件会按照数组中的顺序优先执行
|
||||
'priority' => [
|
||||
\app\middleware\AllowCrossDomain::class,
|
||||
\app\middleware\Api::class,
|
||||
\app\middleware\Validate::class,
|
||||
\app\middleware\Check::class,
|
||||
\app\middleware\Auth::class
|
||||
],
|
||||
];
|
||||
Reference in new issue
Block a user