Ver Fonte

'book'=>

visuddhinanda há 2 anos atrás
pai
commit
58de6e6836
1 ficheiros alterados com 4 adições e 3 exclusões
  1. 4 3
      app/Console/Commands/MqExport.php

+ 4 - 3
app/Console/Commands/MqExport.php

@@ -45,10 +45,11 @@ class MqExport extends Command
         Log::debug("mq:progress start.");
         Mq::worker($exchange,$queue,function ($message){
             $data = [
-                        '--book'=>$message->book,
-                        '--para'=>$message->para,
-                        '--channel'=>$message->channel,
+                        'book'=>$message->book,
+                        'para'=>$message->para,
+                        'channel'=>$message->channel,
                         '--format'=>$message->format,
+                        'filename'=>$message->filename,
                     ];
             $ok = $this->call('export:chapter',$data);
             if($ok !== 0){