chenhaozhe
9 天以前 c1077a5ff53bc83bbf487c30bc93061c8cd93ca8
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;