import((string) $this->argument('path')); } catch (Throwable $exception) { report($exception); $this->error('实际税金表导入失败:' . $exception->getMessage()); return self::FAILURE; } $this->info(sprintf( '实际税金表导入完成:%s 条,跳过空行 %s 条,来源文件 %s。', number_format($result['imported']), number_format($result['skipped']), $result['source_file'], )); return self::SUCCESS; } }