Authored by 郝肖肖

gulp ge

... ... @@ -7850,7 +7850,6 @@ $(".coupon-content .receive-btn").on('touchstart', function(e) {
$.ajax({
method: 'POST',
// url: '/product/index/userCoupon',
url: location.protocol + '//m.yohobuy.com/product/index/userCoupon',
data: {
couponID: code,
... ... @@ -7869,8 +7868,9 @@ $(".coupon-content .receive-btn").on('touchstart', function(e) {
$(that).unbind('touchstart');//移除绑定事件
return true;
} else if (data.code === 4401) {
$('body').append('<a href=\'' + data.url + '\'><span id="jump-login"><span></a>');
$('#jump-login').click();
$('#shop-login').remove();
$('body').append('<a href=\'' + data.url + '\'><span id="shop-login"><span></a>');
$('#shop-login').click();
} else {
tip.show(data.message);
}
... ...
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.