gemercheung %!s(int64=2) %!d(string=hai) anos
pai
achega
1148cc38ce
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/service/publishService.js

+ 1 - 1
src/service/publishService.js

@@ -34,7 +34,7 @@ const publishExitRoom = (userId, roomId) => {
   const payLoad = {
     userId,
     roomId,
-    type: 1,
+    type: -1,
     createTime: Date.now(),
   };
   pubClient.hSet(getInKey(onlineConfigKey), `${payLoad.createTime}`, JSON.stringify(payLoad));