xielin 5 年之前
父節點
當前提交
20d96508ec
共有 1 個文件被更改,包括 2 次插入0 次删除
  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']);
             }