lrf402788946 5 years ago
parent
commit
d75e6f68bc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/service/chat.js

+ 1 - 1
app/service/chat.js

@@ -25,7 +25,7 @@ class ChatService extends CrudService {
         headers: {
           userid: 1,
         } };
-      await mq.topic(exchange, '1', res.data, parm);
+      await mq.topic(exchange, '1', JSON.stringify(res), parm);
     }
     return res;
   }