mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-09 03:22:51 +08:00
修复生成curd强制覆盖时yes无效问题;
This commit is contained in:
@@ -99,7 +99,6 @@ class Curd extends Command
|
|||||||
$fileList = $build->getFileList();
|
$fileList = $build->getFileList();
|
||||||
|
|
||||||
if (!$delete) {
|
if (!$delete) {
|
||||||
$result = $build->create();
|
|
||||||
if ($force) {
|
if ($force) {
|
||||||
$output->info(">>>>>>>>>>>>>>>");
|
$output->info(">>>>>>>>>>>>>>>");
|
||||||
foreach ($fileList as $key => $val) {
|
foreach ($fileList as $key => $val) {
|
||||||
@@ -112,6 +111,7 @@ class Curd extends Command
|
|||||||
throw new Exception("取消文件CURD生成操作");
|
throw new Exception("取消文件CURD生成操作");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$result = $build->create();
|
||||||
CliEcho::success('自动生成CURD成功');
|
CliEcho::success('自动生成CURD成功');
|
||||||
} else {
|
} else {
|
||||||
$output->info(">>>>>>>>>>>>>>>");
|
$output->info(">>>>>>>>>>>>>>>");
|
||||||
|
|||||||
Reference in New Issue
Block a user