liuyu 4 năm trước cách đây
mục cha
commit
92ae0d1e3d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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.fanout(exchange, roomid, JSON.stringify(res), parm);
+      await mq.topic(exchange, roomid, JSON.stringify(res), parm);
     }
     return res;
   }