修改目录的命名习惯;

This commit is contained in:
2022-03-22 11:14:16 +08:00
parent 89ee086b5f
commit 30af406e8b
4 changed files with 7 additions and 8 deletions

View File

@@ -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);

View File

@@ -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) {

View File

@@ -2,10 +2,10 @@
namespace app\common\tools;
use EasyAdmin\curd\BuildCurd as CurdBuildCurd;
use EasyAdmin\curd\BuildCurd;
use EasyAdmin\tool\CommonTool;
class BuildCurd extends CurdBuildCurd
class BuildCurdTools extends BuildCurd
{
/**

View File

@@ -4,7 +4,7 @@ namespace app\common\tools;
use think\facade\App;
class Path
class PathTools
{
/**
* 系统生成的文件,这些文件应当是可以任意删除的