|
@ -8,10 +8,10 @@
|
|
|
localStorage.setItem('WLYY_IMEI', IMEI)
|
|
|
$.support.cors = true;
|
|
|
if(publish_version) { // 生产环境配置
|
|
|
server = "http://www.xmtyw.cn/wlyy/"
|
|
|
server = "http://www.xmtyw.cn/wlyytest/"
|
|
|
imserver = "http://27.155.101.77:3000/api/v2";
|
|
|
socketUrl = "http://27.155.101.77:3000";
|
|
|
articleServer = "http://www.xmtyw.cn/wlyy/"
|
|
|
articleServer = "http://www.xmtyw.cn/wlyytest/"
|
|
|
loginUrl = "../../login/login.html";
|
|
|
imgServer = "http://www.xmtyw.cn/";
|
|
|
if(isInner){
|
|
@ -48,7 +48,7 @@
|
|
|
userAgent = JSON.parse(userAgent)
|
|
|
} catch(e) {
|
|
|
toastr && toastr.warning("登录失效,请关闭当前弹窗前往PC IM重新登录")
|
|
|
toLoginPage()
|
|
|
// toLoginPage()
|
|
|
}
|
|
|
} else {
|
|
|
toLoginPage()
|
|
@ -223,7 +223,7 @@
|
|
|
if(count == 1){
|
|
|
// console.log(tip)
|
|
|
toastr && toastr.warning(tip)
|
|
|
toLoginPage()
|
|
|
// toLoginPage()
|
|
|
}
|
|
|
}
|
|
|
}
|