wzq 5 年之前
父节点
当前提交
590aab9c0e
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/Repositories/Post/PostRepository.php

+ 2 - 2
app/Repositories/Post/PostRepository.php

@@ -268,7 +268,7 @@ class PostRepository
             $data['parent_id'] = $request['parent_id'];
             $data['reply_uid'] = $comment->uid;
             $data['reply_username'] = $comment->username;
-            $this->rabbitMqUtil->push('add_message_one', [
+            $this->rabbitMqUtil->push('add_message', [
                 'uid' => $comment->uid,
                 'message_show_type' => 'post_reply_main',
                 'param' => [
@@ -277,7 +277,7 @@ class PostRepository
                 ]
             ]);
         }else{
-            $this->rabbitMqUtil->push('add_message_one', [
+            $this->rabbitMqUtil->push('add_message', [
                 'uid' => $post->uid,
                 'message_show_type' => 'post_comment',
                 'param' => [