将所有主要逻辑代码迁移到extend中,并在service中注册调用;

This commit is contained in:
2023-10-18 16:32:28 +08:00
parent a4e56caebb
commit 6195ac6be5
31 changed files with 624 additions and 605 deletions

View File

@@ -2,16 +2,6 @@
// 容器Provider定义文件
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__ . '/common/app/provider.php';
return array_merge($provider_default, $provider_common);