lrf402788946 5 年 前
コミット
d75e6f68bc
1 ファイル変更1 行追加1 行削除
  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;
   }