This commit is contained in:
wong
2025-11-20 10:43:29 +08:00
parent 067ae0fd10
commit 57d85765c3
4 changed files with 98 additions and 28 deletions

View File

@@ -23,7 +23,8 @@ return [
// 全局中间件
'alias' => [
'cors' => 'app\\common\\middleware\\AllowCrossDomain'
'cors' => 'app\\common\\middleware\\AllowCrossDomain',
'jwt' => 'app\\http\\middleware\\Jwt'
],
// 应用中间件