middleware.php 370 B

1234567891011121314
  1. <?php
  2. return [
  3. // 全局请求缓存
  4. // \think\middleware\CheckRequestCache::class,
  5. // 多语言加载
  6. // \think\middleware\LoadLangPack::class,
  7. // Session初始化
  8. \think\middleware\SessionInit::class,
  9. //多语言初始化
  10. \think\middleware\LoadLangPack::class,
  11. // 页面Trace调试
  12. // \think\middleware\TraceDebug::class,
  13. ];