Authored by shuaiguo

Merge branch 'hotfix/change-xianyu-login' into 'master'

修改闲鱼登录链接,修改sdk版本



See merge request !1786
... ... @@ -134,7 +134,7 @@ module.exports = {
notifyUrl: domains.service + 'payment/weixin_notify',
},
geetestJs: '//static.geetest.com/static/tools/gt.js',
jsSdk: '//cdn.yoho.cn/js-sdk/1.3.22/jssdk.js',
jsSdk: '//cdn.yoho.cn/js-sdk/1.3.24/jssdk.js',
redis: {
connect: {
host: '192.168.102.49',
... ...
{
"name": "yohobuywap-node",
"version": "6.9.11-5",
"version": "6.9.15-1",
"private": true,
"description": "A New Yohobuy Project With Express",
"repository": {
... ...
... ... @@ -49,9 +49,13 @@ $(document).ajaxError((event, xhr) => {
if (yoho.isApp) {
yoho.goLogin(window.location.href);
} else {
if (/AliApp/i.test(navigator.userAgent)) {
window.location.href = '//xianyu.yohobuy.com/xianyu/passport/login/taobao';
} else {
window.location.href = `/signin.html?refer=${encodeURIComponent(window.location.href)}`;
}
}
}
} else if (xhr.status === 510) {
if (xhr.responseJSON.data && xhr.responseJSON.data.refer) {
window.location.href = xhr.responseJSON.data.refer;
... ...