|
|
@@ -67,10 +67,11 @@
|
|
|
window.location.href = `https://m.weibo.cn/feature/openapp?scheme=` + encodeURIComponent(scheme);
|
|
|
} else {
|
|
|
if (getCookie("SUB") == "") {
|
|
|
- alert("未登录");
|
|
|
- let url = "http://www.weibo.cn/demo.html"; // 要打开的 H5 页面的地址
|
|
|
- //未登录状态下跳转 scheme:
|
|
|
- window.location.href = `sinaweibo://login?redirect_scheme` + encodeURIComponent(url);
|
|
|
+ setCookie("SUB", " 1235892217", 7);
|
|
|
+ // alert("未登录");
|
|
|
+ // let url = "http://www.weibo.cn/demo.html"; // 要打开的 H5 页面的地址
|
|
|
+ // //未登录状态下跳转 scheme:
|
|
|
+ // window.location.href = `sinaweibo://login?redirect_scheme` + encodeURIComponent(url);
|
|
|
}
|
|
|
function getQueryString(name) {
|
|
|
let reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
|