test_lgq/niucloud/app/adminapi/middleware.php

13 lines
236 B
PHP
Raw Normal View History

2024-01-24 17:36:08 +08:00
<?php
// 全局中间件定义文件
use app\adminapi\middleware\AllowCrossDomain;
use think\middleware\LoadLangPack;
return [
//跨域请求中间件
AllowCrossDomain::class,
//语言中间件
LoadLangPack::class,
];