Showing
1 changed file
with
1 additions
and
1 deletions
@@ -37,7 +37,7 @@ $newCoupon.on('submit', function() { | @@ -37,7 +37,7 @@ $newCoupon.on('submit', function() { | ||
37 | tip.show('优惠券可用'); | 37 | tip.show('优惠券可用'); |
38 | orderInfo('couponCode', res.data.coupon_code); | 38 | orderInfo('couponCode', res.data.coupon_code); |
39 | orderInfo('couponValue', res.data.coupon_value); | 39 | orderInfo('couponValue', res.data.coupon_value); |
40 | - window.location.href = '/shoppingCart/orderEnsure?coupon_code=' + res.data.coupon_code; | 40 | + window.location.href = '/cart/index/orderEnsure'; |
41 | } else { | 41 | } else { |
42 | tip.show(res.message || '网络错误'); | 42 | tip.show(res.message || '网络错误'); |
43 | } | 43 | } |
-
Please register or login to post a comment