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