...
|
...
|
@@ -37,7 +37,7 @@ $newCoupon.on('submit', function() { |
|
|
if (res.code === 200) {
|
|
|
tip.show('优惠券可用');
|
|
|
orderInfo('couponCode', res.data.coupon_code);
|
|
|
orderInfo('couponName', res.data.coupon_name);
|
|
|
orderInfo('couponName', res.data.coupon_title);
|
|
|
window.location.href = '/cart/index/orderEnsure';
|
|
|
} else {
|
|
|
tip.show(res.message || '网络错误');
|
...
|
...
|
|