mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-07 18:42:49 +08:00
将所有主要逻辑代码迁移到extend中,并在service中注册调用;
This commit is contained in:
@@ -2,18 +2,10 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use think\migration\Service;
|
||||
use think\UlthonAdminService;
|
||||
|
||||
$service_default = [
|
||||
0 => 'think\\captcha\\CaptchaService',
|
||||
1 => 'think\\app\\Service',
|
||||
2 => Service::class,
|
||||
$service = [
|
||||
10 => UlthonAdminService::class,
|
||||
];
|
||||
|
||||
$service_common = include_once __DIR__ . '/common/app/service.php';
|
||||
|
||||
$service = array_merge($service_default, $service_common);
|
||||
|
||||
ksort($service);
|
||||
|
||||
return $service;
|
||||
|
||||
Reference in New Issue
Block a user