瀏覽代碼

update:key

gemercheung 2 年之前
父節點
當前提交
1148cc38ce
共有 1 個文件被更改,包括 1 次插入1 次删除
  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));