From bc3719065b78ea599eea867bfe8918f7b2d5563c Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Thu, 7 Sep 2023 10:10:10 +0800 Subject: [PATCH] fix --- server/websocket/internal/logic/datatransferlogic.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server/websocket/internal/logic/datatransferlogic.go b/server/websocket/internal/logic/datatransferlogic.go index 3a3e0db2..5d026101 100644 --- a/server/websocket/internal/logic/datatransferlogic.go +++ b/server/websocket/internal/logic/datatransferlogic.go @@ -313,6 +313,7 @@ func ConsumeUserConnPoolCtlChanData(ctx context.Context) { } case 1: //添加 logx.Info("添加用户id索引标识:", data.uniqueId) + //存在这个用户的map池子 if mapUserUniqueId, ok := mapUserConnPool[key]; ok { mapUserUniqueId[data.uniqueId] = struct{}{} } else {