...
|
...
|
@@ -16,7 +16,7 @@ let _getMiniappLoginUrl = function(url) { |
|
|
}
|
|
|
let h5Url = `http://m.yohobuy.com/signin.html?openby:yohobuy={"action":"go.miniapp_login","params":{"h5back":"${encodeURIComponent(url)}"}}`;
|
|
|
|
|
|
return `${miniAppEntrance}?url=${encodeURIComponent(h5Url)}`
|
|
|
return `${miniAppEntrance}?url=${encodeURIComponent(h5Url)}`;
|
|
|
};
|
|
|
|
|
|
const gotoLogin = function() {
|
...
|
...
|
@@ -31,7 +31,7 @@ const gotoLogin = function() { |
|
|
$('body').append('<a href=\'' + user.noLoginUrl() + '\' style="display:none;" id="intimacy-link"><span class="intimacy-link"></span></a>');
|
|
|
}
|
|
|
$('.intimacy-link').click();
|
|
|
}
|
|
|
};
|
|
|
|
|
|
let isSendCoin = false;
|
|
|
let _getCoin = function(data) {
|
...
|
...
|
@@ -131,7 +131,7 @@ let _getCoupon = function(data){ |
|
|
app_version: qs.app_version || cookies.cookie('app_version'),
|
|
|
client_type: qs.client_type || cookies.cookie('app_client_type'),
|
|
|
session_key: qs.session_key || cookies.cookie('app_session_key')
|
|
|
}
|
|
|
};
|
|
|
|
|
|
if (isSendCoupon) {
|
|
|
return;
|
...
|
...
|
|