...
|
...
|
@@ -201,9 +201,12 @@ function getNamedCoupon(activityId, couponId, isApp) |
|
|
url: '/cuxiao/coupon/getnamed',
|
|
|
data: 'activityId=' + activityId + '&couponId=' + couponId,
|
|
|
success: function(data) {
|
|
|
setCookie('_Coupon' + activityId, null, {
|
|
|
expires: -2,
|
|
|
domain: '.m.yohobuy.com'
|
|
|
});
|
|
|
if (data.code == 200) {
|
|
|
showTip('恭喜你成功领取品牌优惠券<br><br>快去分享给你的小伙伴吧!');
|
|
|
setCookie('_Coupon' + activityId, null);
|
|
|
}
|
|
|
else if (data.code == 201) {
|
|
|
showTip('你已领取过品牌优惠券<br><br>快去选购心仪的商品吧!');
|
...
|
...
|
|