first commit
This commit is contained in:
8
app/middleware.php
Normal file
8
app/middleware.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
// 全局中间件定义文件
|
||||
return [
|
||||
//跨域中间件
|
||||
app\common\http\middleware\LikeAdminAllowMiddleware::class,
|
||||
//基础中间件
|
||||
app\common\http\middleware\BaseMiddleware::class,
|
||||
];
|
||||
Reference in New Issue
Block a user