Authored by 邱骏

update

{
"name": "yohobuywap-node-activity",
"version": "6.9.9-7",
"version": "6.9.9-9",
"private": true,
"description": "A New Yohobuy Project With Express",
"repository": {
... ...
... ... @@ -90,10 +90,11 @@ function hideShare() {
}
function getParams() { // 获取登录相关信息
let app_uid = parseInt(app_info.uid, 10) || cookie.get('app_uid') || qs.uid;
let app_session_key = app_info.session_key || cookie.get('app_session_key') || qs.session_key;
let app_version = cookie.get('app_version') || qs.app_version || '';
let app_client_type = cookie.get('app_client_type') || qs.app_client_type || '';
let app_uid = parseInt(app_info.uid, 10) || qs.uid || cookie.get('app_uid');
let app_session_key = app_info.session_key || qs.session_key || cookie.get('app_session_key');
let app_version = qs.app_version || cookie.get('app_version') || '';
let app_client_type = qs.app_client_type || cookie.get('app_client_type') || '';
if (isApp) {
if (/android/i.test(navigator.userAgent)) {
... ... @@ -138,7 +139,6 @@ function getCoupon() { // 分享成功后领券
} else {
showWebShareTips('您已领取过该优惠券');
}
} else if (result.code === 501) {
showWebShareTips('您已领取过该优惠券');
} else if (result.code === 402) {
... ...
... ... @@ -95,7 +95,7 @@ let loginUrl = function() {
}
});
} else if (enviroment === 'pc') {
url = 'https://www.yoho/signin.html?refer=' + encodeURIComponent(location.href);
url = 'https://www.yohobuy.com/signin.html?refer=' + encodeURIComponent(location.href);
} else if (enviroment === 'miniprogram') {
url = '/pages/userCenter/userCenter';
} else {
... ...