From 99b49e2d7b971d60538f741e8d901cb4bdbabd5b Mon Sep 17 00:00:00 2001 From: zhaoxiang Date: Wed, 24 Feb 2021 19:12:03 +0800 Subject: [PATCH] =?UTF-8?q?added=20=E6=96=B0=E5=A2=9E=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E6=9E=84=E5=BB=BA=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/command/AutoBuildFile.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/app/command/AutoBuildFile.php b/app/command/AutoBuildFile.php index 47357de..741fbc2 100644 --- a/app/command/AutoBuildFile.php +++ b/app/command/AutoBuildFile.php @@ -14,9 +14,20 @@ class AutoBuildFile extends Command { $this->setName('apiadmin:autoBuild')->setDescription('ApiAdmin自动构建文件'); } + /** + * 自动构建 + * @param Input $input + * @param Output $output + * @throws \think\db\exception\DataNotFoundException + * @throws \think\db\exception\DbException + * @throws \think\db\exception\ModelNotFoundException + * @author zhaoxiang + */ protected function execute(Input $input, Output $output): void { $config = $this->parseConfig($output); (new AutoBuild())->run($config); + + $output->info('Build files successful'); } /**