Authored by shuaiguo

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

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



See merge request !1786
@@ -134,7 +134,7 @@ module.exports = { @@ -134,7 +134,7 @@ module.exports = {
134 notifyUrl: domains.service + 'payment/weixin_notify', 134 notifyUrl: domains.service + 'payment/weixin_notify',
135 }, 135 },
136 geetestJs: '//static.geetest.com/static/tools/gt.js', 136 geetestJs: '//static.geetest.com/static/tools/gt.js',
137 - jsSdk: '//cdn.yoho.cn/js-sdk/1.3.22/jssdk.js', 137 + jsSdk: '//cdn.yoho.cn/js-sdk/1.3.24/jssdk.js',
138 redis: { 138 redis: {
139 connect: { 139 connect: {
140 host: '192.168.102.49', 140 host: '192.168.102.49',
1 { 1 {
2 "name": "yohobuywap-node", 2 "name": "yohobuywap-node",
3 - "version": "6.9.11-5", 3 + "version": "6.9.15-1",
4 "private": true, 4 "private": true,
5 "description": "A New Yohobuy Project With Express", 5 "description": "A New Yohobuy Project With Express",
6 "repository": { 6 "repository": {
@@ -49,7 +49,11 @@ $(document).ajaxError((event, xhr) => { @@ -49,7 +49,11 @@ $(document).ajaxError((event, xhr) => {
49 if (yoho.isApp) { 49 if (yoho.isApp) {
50 yoho.goLogin(window.location.href); 50 yoho.goLogin(window.location.href);
51 } else { 51 } else {
52 - window.location.href = `/signin.html?refer=${encodeURIComponent(window.location.href)}`; 52 + if (/AliApp/i.test(navigator.userAgent)) {
  53 + window.location.href = '//xianyu.yohobuy.com/xianyu/passport/login/taobao';
  54 + } else {
  55 + window.location.href = `/signin.html?refer=${encodeURIComponent(window.location.href)}`;
  56 + }
53 } 57 }
54 } 58 }
55 } else if (xhr.status === 510) { 59 } else if (xhr.status === 510) {