Authored by 王水玲

sale outlet 倒计时改为ajax获取

@@ -102,7 +102,7 @@ let breakingYards = (req, res, next) => { @@ -102,7 +102,7 @@ let breakingYards = (req, res, next) => {
102 saleModel.getBreakCodeData({ 102 saleModel.getBreakCodeData({
103 yhChannel: params.channel 103 yhChannel: params.channel
104 }).then((result) => { 104 }).then((result) => {
105 - 105 +
106 res.render('sale/break-code', Object.assign(params.renderData, result)); 106 res.render('sale/break-code', Object.assign(params.renderData, result));
107 }).catch(next); 107 }).catch(next);
108 }; 108 };
@@ -384,7 +384,7 @@ const getDiscountDetailData = (id, yhChannel) => { @@ -384,7 +384,7 @@ const getDiscountDetailData = (id, yhChannel) => {
384 activity: { 384 activity: {
385 cover_url: res[0] && res[0].cover_url 385 cover_url: res[0] && res[0].cover_url
386 386
387 - //left_time: res[0] && res[0].left_time 387 + // left_time: res[0] && res[0].left_time
388 } 388 }
389 }; 389 };
390 } else { 390 } else {