test_lgq/niucloud/app/adminapi/middleware.php
2024-01-24 17:36:08 +08:00

13 lines
236 B
PHP

<?php
// 全局中间件定义文件
use app\adminapi\middleware\AllowCrossDomain;
use think\middleware\LoadLangPack;
return [
//跨域请求中间件
AllowCrossDomain::class,
//语言中间件
LoadLangPack::class,
];