Przeglądaj źródła

:bug: type不存在

visuddhinanda 3 lat temu
rodzic
commit
fa953b7543
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app/Console/Commands/ExportOffline.php

+ 1 - 1
app/Console/Commands/ExportOffline.php

@@ -48,7 +48,7 @@ class ExportOffline extends Command
         //导出译文
         //导出译文
         $this->call('export:sentence');
         $this->call('export:sentence');
         //导出原文
         //导出原文
-        $this->call('export:sentence',['type'=>'original']);
+        $this->call('export:sentence',['--type'=>'original']);
         shell_exec("XZ_OPT=-9 tar jcvf ".storage_path("app/public/export/offline.tar.xz")." ".storage_path("app/public/export/offline"));
         shell_exec("XZ_OPT=-9 tar jcvf ".storage_path("app/public/export/offline.tar.xz")." ".storage_path("app/public/export/offline"));
         return 0;
         return 0;
     }
     }