Authored by 郭成尧

choseGiftCard-href

@@ -103,7 +103,8 @@ class BuyNowController { @@ -103,7 +103,8 @@ class BuyNowController {
103 product_sku: product_sku, 103 product_sku: product_sku,
104 buy_number: buy_number 104 buy_number: buy_number
105 }), 105 }),
106 - isOrdinaryCart: true 106 + isOrdinaryCart: true,
  107 + choseGiftCard: helpers.urlFormat('/cart/index/buynow/selectGiftcard')
107 } 108 }
108 ); 109 );
109 110
@@ -131,7 +131,8 @@ exports.orderEnsure = (req, res, next) => { @@ -131,7 +131,8 @@ exports.orderEnsure = (req, res, next) => {
131 orderEnsurePage: true, 131 orderEnsurePage: true,
132 isOrdinaryCart: cartType !== 'advance', 132 isOrdinaryCart: cartType !== 'advance',
133 orderEnsure: _.assign(order, { 133 orderEnsure: _.assign(order, {
134 - isOrdinaryCart: cartType !== 'advance' 134 + isOrdinaryCart: cartType !== 'advance',
  135 + choseGiftCard: helpers.urlFormat('/cart/index/new/selectGiftcard')
135 }), 136 }),
136 userMobile: mobile, 137 userMobile: mobile,
137 pageHeader: headerData, 138 pageHeader: headerData,