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 {