liuyu %!s(int64=5) %!d(string=hai) anos
pai
achega
429c24ee67
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/service/roomchat.js

+ 1 - 1
app/service/roomchat.js

@@ -28,7 +28,7 @@ class RoomchatService extends CrudService {
         headers: {
           number,
         } };
-      await mq.topic(exchange, number, JSON.stringify(res), parm);
+      await mq.fanout(exchange, number, JSON.stringify(res), parm);
     }
     return res;
   }