cxhxy/app/middleware.php
test_service d3170b4d1c 1
2023-12-01 15:43:29 +08:00

11 lines
260 B
PHP
Executable File

<?php
// 全局中间件定义文件
return [
// 全局请求缓存
// \think\middleware\CheckRequestCache::class,
// 多语言加载
// \think\middleware\LoadLangPack::class,
// Session初始化
\think\middleware\SessionInit::class
];