|
@@ -152,18 +152,23 @@
|
|
|
if (keys) {
|
|
|
for (var i = keys.length; i--;) {
|
|
|
document.cookie = keys[i] + '=0;path=/;expires=' + new Date(0)
|
|
|
- .toUTCString() // 清除当前域名下的,例如:m.ratingdog.cn
|
|
|
+ .toUTCString() // 清除当前域名下的,例如:m.ratingdog.cn
|
|
|
document.cookie = keys[i] + '=0;path=/;domain=' + document.domain + ';expires=' +
|
|
|
new Date(0).toUTCString() // 清除当前域名下的,例如 .m.ratingdog.cn
|
|
|
- document.cookie = keys[i] + '=0;path=/;domain=ratingdog.cn;expires=' + new Date(0)
|
|
|
+ document.cookie = keys[i] + '=0;path=/;domain=sso4pub.wanda-dev.cn;expires=' + new Date(
|
|
|
+ 0)
|
|
|
+ .toUTCString() // 清除一级域名下的或指定的,例如 .ratingdog.cn
|
|
|
+ document.cookie = keys[i] + '=0;path=/;domain=.wanda-dev.cn;expires=' + new Date(0)
|
|
|
+ .toUTCString() // 清除一级域名下的或指定的,例如 .ratingdog.cn
|
|
|
+ document.cookie = keys[i] + '=0;path=/;domain=.wanda.cn;expires=' + new Date(0)
|
|
|
+ .toUTCString() // 清除一级域名下的或指定的,例如 .ratingdog.cn
|
|
|
+ document.cookie = keys[i] + '=0;path=/;domain=glsms.wanda-dev.cn;expires=' + new Date(0)
|
|
|
+ .toUTCString() // 清除一级域名下的或指定的,例如 .ratingdog.cn
|
|
|
+ document.cookie = keys[i] + '=0;path=/;domain=glsms.wanda.cn;expires=' + new Date(0)
|
|
|
.toUTCString() // 清除一级域名下的或指定的,例如 .ratingdog.cn
|
|
|
}
|
|
|
}
|
|
|
- // 清楚所有session
|
|
|
- sessionStorage.clear();
|
|
|
- // 跳转登陆
|
|
|
- window.location.href = `http://oauth.wanda.cn/login?systemcode=CAD156&signal=${new Date().getTime()}&version="1.0.0"`;
|
|
|
- return
|
|
|
+ // http://oauth.wanda-dev.cn/login?systemcode=CAD156&signal=123&version=1.0.0
|
|
|
}
|
|
|
}
|
|
|
</script>
|