提交其他文件
This commit is contained in:
11
app/middleware.php
Normal file
11
app/middleware.php
Normal file
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
// 全局中间件定义文件
|
||||
return [
|
||||
// 微信公众号跨域中间件
|
||||
app\common\http\middleware\WechatAllowMiddleware::class,
|
||||
|
||||
//跨域中间件
|
||||
app\common\http\middleware\LikeAdminAllowMiddleware::class,
|
||||
//基础中间件
|
||||
app\common\http\middleware\BaseMiddleware::class,
|
||||
];
|
||||
Reference in New Issue
Block a user