mirror of
https://gitee.com/wonderful-code/buildadmin
synced 2024-11-22 15:24:09 +00:00
12 lines
303 B
PHP
12 lines
303 B
PHP
<?php
|
|
// 全局中间件定义文件
|
|
return [
|
|
// 全局请求缓存
|
|
// \think\middleware\CheckRequestCache::class,
|
|
// 多语言加载
|
|
// \think\middleware\LoadLangPack::class,
|
|
// Session初始化
|
|
// \think\middleware\SessionInit::class,
|
|
\think\middleware\Throttle::class,
|
|
];
|