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 | if (res.code === 200) { | 37 | if (res.code === 200) { |
38 | tip.show('优惠券可用'); | 38 | tip.show('优惠券可用'); |
39 | orderInfo('couponCode', res.data.coupon_code); | 39 | orderInfo('couponCode', res.data.coupon_code); |
40 | - orderInfo('couponName', res.data.coupon_name); | 40 | + orderInfo('couponName', res.data.coupon_title); |
41 | window.location.href = '/cart/index/orderEnsure'; | 41 | window.location.href = '/cart/index/orderEnsure'; |
42 | } else { | 42 | } else { |
43 | tip.show(res.message || '网络错误'); | 43 | tip.show(res.message || '网络错误'); |
-
Please register or login to post a comment