增加文件

master
chenq 2021-08-09 11:30:07 +08:00
parent d9ef4aadec
commit ea6b40fddb
2 changed files with 15 additions and 0 deletions

5
app/Home/common.php Normal file
View File

@ -0,0 +1,5 @@
<?php
// 应用公共文件
error_reporting(0);

10
app/Home/middleware.php Normal file
View File

@ -0,0 +1,10 @@
<?php
return [
// 全局请求缓存
// 'think\middleware\CheckRequestCache',
// 多语言加载
// 'think\middleware\LoadLangPack',
// Session初始化
'think\middleware\SessionInit',
];