mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-06 18:12:50 +08:00
修改目录的命名习惯;
This commit is contained in:
@@ -15,7 +15,7 @@ namespace app\common\command;
|
||||
|
||||
use app\admin\model\SystemNode;
|
||||
use EasyAdmin\console\CliEcho;
|
||||
use app\common\tools\BuildCurd;
|
||||
use app\common\tools\BuildCurdTools;
|
||||
use think\console\Command;
|
||||
use think\console\Input;
|
||||
use think\console\input\Option;
|
||||
@@ -55,7 +55,7 @@ class Curd extends Command
|
||||
}
|
||||
|
||||
try {
|
||||
$build = (new BuildCurd())
|
||||
$build = (new BuildCurdTools())
|
||||
->setTable($table)
|
||||
->setForce($force);
|
||||
|
||||
|
||||
@@ -4,10 +4,9 @@ declare(strict_types=1);
|
||||
|
||||
namespace app\common\command;
|
||||
|
||||
use app\common\tools\Path;
|
||||
use app\common\tools\PathTools;
|
||||
use think\console\Command;
|
||||
use think\console\Input;
|
||||
use think\console\input\Argument;
|
||||
use think\console\input\Option;
|
||||
use think\console\Output;
|
||||
use think\facade\App;
|
||||
@@ -92,7 +91,7 @@ class Install extends Command
|
||||
]);
|
||||
|
||||
// 处理安装文件
|
||||
Path::intiDir($install_lock_path);
|
||||
PathTools::intiDir($install_lock_path);
|
||||
@file_put_contents($install_lock_path, date('Y-m-d H:i:s'));
|
||||
Db::commit();
|
||||
} catch (\Exception $e) {
|
||||
|
||||
Reference in New Issue
Block a user