|
@@ -14,13 +14,6 @@ U.MD.O.P.connect = function () {
|
|
userName: US.userInfo.username,
|
|
userName: US.userInfo.username,
|
|
type: US.systemId
|
|
type: US.systemId
|
|
})]);
|
|
})]);
|
|
-
|
|
|
|
- // U.A.Request(US.SCOKET, ["login", JSON.stringify({ //发送登录请求
|
|
|
|
- // pageId: US.pageId,
|
|
|
|
- // userId: US.userInfo.userid,
|
|
|
|
- // userName: US.userInfo.username,
|
|
|
|
- // type: US.systemId
|
|
|
|
- // })], U.MD.O.P.pollingAsyn); //回调进 U.MD.O.P.pollingAsyn 函数
|
|
|
|
}
|
|
}
|
|
};
|
|
};
|
|
|
|
|
|
@@ -74,7 +67,7 @@ U.MD.O.P.polling = function (params) {
|
|
else if (xhr.readyState == 4) {
|
|
else if (xhr.readyState == 4) {
|
|
console.log(xhr);
|
|
console.log(xhr);
|
|
U.MD.O.P.isconnect = true;
|
|
U.MD.O.P.isconnect = true;
|
|
- U.MD.O.P.polling();
|
|
|
|
|
|
+ U.MD.O.P.connect();
|
|
}
|
|
}
|
|
};
|
|
};
|
|
//超时重新连接
|
|
//超时重新连接
|