diff --git a/service/account_websocket_service.go b/service/account_websocket_service.go index be23003..50259e6 100644 --- a/service/account_websocket_service.go +++ b/service/account_websocket_service.go @@ -128,11 +128,11 @@ func (s *accountWebsocketService) handleConnection(ctx context.Context, key stri glog.Infof(ctx, "收到 WebSocket 消息 - %s: %s", key, content) // 解析 userId - connInfo := s.connections.Get(key) - if connInfo == nil { - break - } - wsConn := connInfo.(*accountWsConnection) + //connInfo := s.connections.Get(key) + //if connInfo == nil { + // break + //} + //wsConn := connInfo.(*accountWsConnection) // 先检查对话轮数,>5 则只发卡片,跳过话术 //checkCardBeforeProcess 已推送卡片消息,无需ack