Jelajahi Sumber

:fire: $this->info

visuddhinanda 11 bulan lalu
induk
melakukan
1be436cdf4
1 mengubah file dengan 1 tambahan dan 2 penghapusan
  1. 1 2
      api-v8/app/Console/Commands/ExportZip.php

+ 1 - 2
api-v8/app/Console/Commands/ExportZip.php

@@ -45,7 +45,6 @@ class ExportZip extends Command
     public function handle()
     {
         Log::debug('export offline: 开始压缩');
-        $this->info('export offline: 开始压缩');
         $defaultExportPath = storage_path('app/public/export/offline');
         $exportFile = $this->argument('filename');
         $filename = basename($exportFile);
@@ -116,7 +115,7 @@ class ExportZip extends Command
         $this->info(implode(' ', $command));
         Log::debug('export offline zip start', ['command' => $command, 'format' => $this->argument('format')]);
         $process = new Process($command);
-	$process->setTimeout(60*60*6);
+        $process->setTimeout(60 * 60 * 6);
         $process->run();
         $this->info($process->getOutput());
         $this->info('压缩完成');