diff --git a/extend/base/common/command/CurdBase.php b/extend/base/common/command/CurdBase.php index 643dce0..5dfce62 100644 --- a/extend/base/common/command/CurdBase.php +++ b/extend/base/common/command/CurdBase.php @@ -131,7 +131,13 @@ class CurdBase extends Command } $output->info('>>>>>>>>>>>>>>>'); foreach ($result as $vo) { - $output->info($vo); + $output_endfix = ''; + if ($input->hasOption('runtime')) { + $base_path = str_replace($runtime_path, '', $vo); + $root_path = App::getRootPath(); + $output_endfix = ' >> ' . $root_path . $base_path; + } + $output->info($vo . $output_endfix); } } catch (\Exception $e) { $output->error($e->getMessage());