Authored by michaelcao

update

... ... @@ -477,14 +477,14 @@
if (json.code != 200) {
diaCover("请先登录!!!");
var jumpURL = window.location.href;
var url = "https://m.yohobuy.com/signin.html?openby:yohobuy={'action':'go.weblogin','params':{'jumpurl':{'url':"+jumpURL+",'param':{'from':'app'}},'requesturl':{'url':'','param':{}},'priority':'Y'}}";
var url = "http://m.yohobuy.com/signin.html?openby:yohobuy={'action':'go.weblogin','params':{'jumpurl':{'url':"+jumpURL+",'param':{'from':'app'}},'requesturl':{'url':'','param':{}},'priority':'Y'}}";
window.location.href=url;
return;
}
if (!json.data) {
diaCover("请先登录!!!");
var jumpURL = window.location.href;
var url = "https://m.yohobuy.com/signin.html?openby:yohobuy={'action':'go.weblogin','params':{'jumpurl':{'url':"+jumpURL+",'param':{'from':'app'}},'requesturl':{'url':'','param':{}},'priority':'Y'}}";
var url = "http://m.yohobuy.com/signin.html?openby:yohobuy={'action':'go.weblogin','params':{'jumpurl':{'url':"+jumpURL+",'param':{'from':'app'}},'requesturl':{'url':'','param':{}},'priority':'Y'}}";
window.location.href=url;
return;
}
... ... @@ -566,7 +566,7 @@
} else {
diaCover("请先登录!!!");
var jumpURL = window.location.href;
var url = "https://m.yohobuy.com/signin.html?openby:yohobuy={'action':'go.weblogin','params':{'jumpurl':{'url':"+jumpURL+",'param':{'from':'app'}},'requesturl':{'url':'','param':{}},'priority':'Y'}}";
var url = "http://m.yohobuy.com/signin.html?openby:yohobuy={'action':'go.weblogin','params':{'jumpurl':{'url':"+jumpURL+",'param':{'from':'app'}},'requesturl':{'url':'','param':{}},'priority':'Y'}}";
window.location.href=url;
}
}
... ...
... ... @@ -240,12 +240,12 @@ img{
$.getJSON(dataRequestUrl+"?callback=?", function(json) {
if (json.code != 200) {
diaCover("请先登录!!!");
window.location.href = "https://www.yohobuy.com/signin.html?refer=" + window.location.href;
window.location.href = "http://www.yohobuy.com/signin.html?refer=" + window.location.href;
return;
}
if (!json.data) {
diaCover("请先登录!!!");
window.location.href = "https://www.yohobuy.com/signin.html?refer=" + window.location.href;
window.location.href = "http://www.yohobuy.com/signin.html?refer=" + window.location.href;
return;
}
var itemIds = [];
... ...
... ... @@ -41,7 +41,7 @@
if (json.code === 200) {
uid=json.data;
} else {
var url ='https://m.yohobuy.com/signin.html?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":'
var url ='http://m.yohobuy.com/signin.html?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":'
+'/activity/favoriteAct/index.html'+'","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"Y"}}';
window.location.href=url;
}
... ...