lrf402788946 4 years ago
parent
commit
2f8a112bef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/service/dock/dock_chat.js

+ 1 - 1
app/service/dock/dock_chat.js

@@ -15,7 +15,7 @@ class Dock_chatService extends CrudService {
     if (res) {
       const exchange = 'dockChat';
       const routeKey = `${res.dock_id}`;
-      const content = JSON.stringify(_.pick(res, [ 'sender_id', 'sender_name', 'dock_id', 'send_time' ]));
+      const content = JSON.stringify(_.pick(res, [ 'sender_id', 'sender_name', 'dock_id', 'send_time', 'content' ]));
       const param = { durable: true };
       const { mq } = this.ctx;
       if (mq) {