正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -61,7 +61,7 @@ class EmergencyResultExport extends Command | @@ -61,7 +61,7 @@ class EmergencyResultExport extends Command | ||
| 61 | $table = new BatchExportService("项目站点恢复结果导出"); | 61 | $table = new BatchExportService("项目站点恢复结果导出"); |
| 62 | $file = $table->head($map)->data($data)->save(); | 62 | $file = $table->head($map)->data($data)->save(); |
| 63 | if (!$file) { | 63 | if (!$file) { |
| 64 | - throw new \Exception('文件生成失败,请重试'); | 64 | + $this->output('文件生成失败,请重试'); |
| 65 | } | 65 | } |
| 66 | 66 | ||
| 67 | $this->output('export success'); | 67 | $this->output('export success'); |
-
请 注册 或 登录 后发表评论