Authored by 郭成尧

coupon-backUrl

@@ -243,7 +243,7 @@ exports.selectCoupon = (req, res) => { @@ -243,7 +243,7 @@ exports.selectCoupon = (req, res) => {
243 243
244 let headerData = headerModel.setNav({ 244 let headerData = headerModel.setNav({
245 navTitle: '选择优惠券', 245 navTitle: '选择优惠券',
246 - backUrl: helpers.urlFormat('/cart/new/orderEnsure'), 246 + backUrl: helpers.urlFormat('/cart/index/new/orderEnsure'),
247 navBtn: false 247 navBtn: false
248 }); 248 });
249 249
@@ -91,7 +91,7 @@ @@ -91,7 +91,7 @@
91 <ul class="sale-invoice"> 91 <ul class="sale-invoice">
92 {{#if isOrdinaryCart}} 92 {{#if isOrdinaryCart}}
93 <li class="coupon"> 93 <li class="coupon">
94 - <a href="{{#if isLimit}}javascript:void(0);{{else}}/cart/index/selectCoupon{{/if}}"> 94 + <a href="{{#if isLimit}}javascript:void(0);{{else}}/cart/index/new/selectCoupon{{/if}}">
95 <span class="title">优惠券</span> 95 <span class="title">优惠券</span>
96 {{# coupon}} 96 {{# coupon}}
97 <span class="coupon-count"> 97 <span class="coupon-count">