...
|
...
|
@@ -100,7 +100,7 @@ exports.orderEnsure = (req, res, next) => { |
|
|
}
|
|
|
}
|
|
|
|
|
|
if (autoSelectCouponCodeStr) {
|
|
|
if (!orderInfo.coupon_code && autoSelectCouponCodeStr) {
|
|
|
orderInfo.coupon_code = autoSelectCouponCodeStr;
|
|
|
res.cookie('order-info', JSON.stringify(orderInfo), actCkOpthn);
|
|
|
}
|
...
|
...
|
|