Authored by 邱骏

修改在闲鱼中时领券登录的url

{
"name": "yoho-js-sdk",
"version": "1.3.23",
"version": "1.3.24",
"description": "YOHO!前端js的功能封装包,主要用于在活动页面中,对主要功能的封装。",
"keywords": [
"YOHO!",
... ...
... ... @@ -12,6 +12,10 @@ let _noLoginUrl = function() {
domain = 'www.yohobuy.com';
}
if (/AliApp/i.test(navigator.userAgent)) {
return `${location.protocol}//xianyu.yohobuy.com/xianyu/passport/login/taobao`;
}
return `//${domain}/signin.html?refer=` + encodeURIComponent(location.href) + '&openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' + referrer.replace(/\//g, '\\/') + '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"N"}}';
};
... ... @@ -76,7 +80,7 @@ export default {
},
getMktCode() {
let mkt_code;
if (this.uid) {
if (Number(this.uid) % 1024 >= 512) {
mkt_code = 100000000000195; // 默认的值
... ... @@ -88,4 +92,4 @@ export default {
}
return mkt_code;
}
};
\ No newline at end of file
};
... ...