Authored by 郭成尧

coupon-handle

... ... @@ -50,6 +50,7 @@ class BuyNowController {
if (product_sku !== orderInfo.product_sku) {
orderInfo = {};
res.clearCookie('buynow_info', actCkOpthn);
}
co(function * () {
... ...
... ... @@ -61,6 +61,9 @@ if (cookie.get('ensure_from') === 'cart') {
cookie.removeSpecific('ensure_from', actCkOpthn);
}
// 清除立即购买的 cookie,以免优惠券数据冲突
cookie.removeSpecific('buynow_info', actCkOpthn);
isLimitGood() && (function() {
let a = [];
... ...