qq_41295110
2026-03-16 8a7de013c1d5e0caeac59dedaeb404c5592733a1
utils/WebSocketServices.js
@@ -36,6 +36,7 @@
    createConnect(userId, userName, count = 0, limit = 3) {
        // 登录建立连接时,需要重新获取http地址,可能会变更
        this.wsUrl = CommonUtils.httpFormatWs();
        //this.wsUrl = uni.getStorageSync("serverUrl") + "WebSocketHandler.ashx"
        // 缓存用户信息(用于重连)
        this.currentUserId = userId;
        this.currentUserName = userName;