...
|
...
|
@@ -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) {
|
...
|
...
|
|