mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 15:32:48 +08:00
将所有主要逻辑代码迁移到extend中,并在service中注册调用;
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user