liuyu 4 years ago
parent
commit
306047bcdf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/service/chat.js

+ 1 - 1
app/service/chat.js

@@ -30,7 +30,7 @@ class ChatService extends CrudService {
         headers: {
           userid: sendid,
         } };
-      await mq.topic(exchange, roomid, JSON.stringify(res), parm);
+      await mq.fanout(exchange, roomid, JSON.stringify(res), parm);
     }
     return res;
   }