liuyu %!s(int64=5) %!d(string=hai) anos
pai
achega
92ae0d1e3d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
   }