Authored by 邱骏

update

1 { 1 {
2 "name": "yohobuywap-node-activity", 2 "name": "yohobuywap-node-activity",
3 - "version": "6.9.9-7", 3 + "version": "6.9.9-9",
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": {
@@ -90,10 +90,11 @@ function hideShare() { @@ -90,10 +90,11 @@ function hideShare() {
90 } 90 }
91 91
92 function getParams() { // 获取登录相关信息 92 function getParams() { // 获取登录相关信息
93 - let app_uid = parseInt(app_info.uid, 10) || cookie.get('app_uid') || qs.uid;  
94 - let app_session_key = app_info.session_key || cookie.get('app_session_key') || qs.session_key;  
95 - let app_version = cookie.get('app_version') || qs.app_version || '';  
96 - let app_client_type = cookie.get('app_client_type') || qs.app_client_type || ''; 93 +
  94 + let app_uid = parseInt(app_info.uid, 10) || qs.uid || cookie.get('app_uid');
  95 + let app_session_key = app_info.session_key || qs.session_key || cookie.get('app_session_key');
  96 + let app_version = qs.app_version || cookie.get('app_version') || '';
  97 + let app_client_type = qs.app_client_type || cookie.get('app_client_type') || '';
97 98
98 if (isApp) { 99 if (isApp) {
99 if (/android/i.test(navigator.userAgent)) { 100 if (/android/i.test(navigator.userAgent)) {
@@ -138,7 +139,6 @@ function getCoupon() { // 分享成功后领券 @@ -138,7 +139,6 @@ function getCoupon() { // 分享成功后领券
138 } else { 139 } else {
139 showWebShareTips('您已领取过该优惠券'); 140 showWebShareTips('您已领取过该优惠券');
140 } 141 }
141 -  
142 } else if (result.code === 501) { 142 } else if (result.code === 501) {
143 showWebShareTips('您已领取过该优惠券'); 143 showWebShareTips('您已领取过该优惠券');
144 } else if (result.code === 402) { 144 } else if (result.code === 402) {
@@ -95,7 +95,7 @@ let loginUrl = function() { @@ -95,7 +95,7 @@ let loginUrl = function() {
95 } 95 }
96 }); 96 });
97 } else if (enviroment === 'pc') { 97 } else if (enviroment === 'pc') {
98 - url = 'https://www.yoho/signin.html?refer=' + encodeURIComponent(location.href); 98 + url = 'https://www.yohobuy.com/signin.html?refer=' + encodeURIComponent(location.href);
99 } else if (enviroment === 'miniprogram') { 99 } else if (enviroment === 'miniprogram') {
100 url = '/pages/userCenter/userCenter'; 100 url = '/pages/userCenter/userCenter';
101 } else { 101 } else {