xielin 5 anni fa
parent
commit
20d96508ec
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      app/Console/Commands/ContentFeedCreate.php

+ 2 - 0
app/Console/Commands/ContentFeedCreate.php

@@ -81,7 +81,9 @@ class ContentFeedCreate extends Command
 
         $callback = function ($msg) {
             $param = \GuzzleHttp\json_decode($msg->body,true);
+            $this->line('收到消息'.$msg->body);
             $row = $this->feedRepositories->feedCreate($param);
+            $this->line('处理消息'.$row);
             if($row){
                 $msg->delivery_info['channel']->basic_ack($msg->delivery_info['delivery_tag']);
             }