Authored by ping

update

... ... @@ -107,13 +107,14 @@
$(".good-c .add-btn").click(
function () {
var clickObj = this;
var isApp = !!vars.app_version || (vars.openrefer === 'app' && vars.uid);//判断是否是APP
if (!isApp) {
var dataRequestUrl = "http://m.yohobuy.com/passport/login/user";
$.getJSON(dataRequestUrl+"?callback=?",
function(json) {
if (json.code === 200) {
favout(json.data);
favout.call(clickObj, json.data);
} else {
var url ='http://m.yohobuy.com/signin.html?refer=' + window.location.href;
//window.location.href=url;
... ... @@ -142,7 +143,7 @@
}
$(".collocation-link").click();
} else {
favout(uid);
favout.call(clickObj, uid);
}
}
... ...