mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 23:42:48 +08:00
18 lines
425 B
PHP
18 lines
425 B
PHP
<?php
|
|
|
|
// 容器Provider定义文件
|
|
|
|
use app\common\provider\ExceptionHandle;
|
|
use app\common\provider\Request;
|
|
use app\common\provider\View;
|
|
|
|
$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);
|