将所有主要逻辑代码迁移到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

@@ -0,0 +1,18 @@
<?php
namespace think;
class UlthonAdminApp extends App
{
/**
* 加载应用文件和配置.
* @return void
*/
protected function load(): void
{
// 引入系统函数
include App::getRootPath() . '/extend/base/helper.php';
parent::load();
}
}