开始自动更新架构

This commit is contained in:
2023-09-18 18:06:40 +08:00
parent c7426e4094
commit 01db0f9956
10 changed files with 53 additions and 7 deletions

View File

@@ -6,8 +6,12 @@ use app\common\provider\ExceptionHandle;
use app\common\provider\Request;
use app\common\provider\View;
return [
$provider_default = [
'think\Request' => Request::class,
'think\exception\Handle' => ExceptionHandle::class,
'think\View' => View::class,
];
$provider_common = include_once __DIR__ . '/app/common/app/provider.php';
return array_merge($provider_default, $provider_common);