Authored by yyq

fix lint

@@ -71,6 +71,7 @@ const getGiftCards = (req, res, next) => { @@ -71,6 +71,7 @@ const getGiftCards = (req, res, next) => {
71 // 订单金额计算 71 // 订单金额计算
72 const compute = (req, res, next) => { 72 const compute = (req, res, next) => {
73 let params = req.body; 73 let params = req.body;
  74 +
74 // 6.7.5 web端下架预售购物车功能 75 // 6.7.5 web端下架预售购物车功能
75 // let cartType = req.query.type === '2' ? 'advance' : 'ordinary'; 76 // let cartType = req.query.type === '2' ? 'advance' : 'ordinary';
76 let cartType = 'ordinary'; 77 let cartType = 'ordinary';
@@ -122,6 +123,7 @@ const submitCheck = (req, res, next) => { @@ -122,6 +123,7 @@ const submitCheck = (req, res, next) => {
122 // 提交订单 123 // 提交订单
123 const submit = (req, res, next) => { 124 const submit = (req, res, next) => {
124 let params = req.body; 125 let params = req.body;
  126 +
125 // 6.7.5 web端下架预售购物车功能 127 // 6.7.5 web端下架预售购物车功能
126 // let cartType = req.query.type === '2' ? 'advance' : 'ordinary'; 128 // let cartType = req.query.type === '2' ? 'advance' : 'ordinary';
127 let cartType = 'ordinary'; 129 let cartType = 'ordinary';
@@ -583,6 +583,7 @@ const formatCart = (cartDataRet, uid, shoppingKey, cartDelList) => { @@ -583,6 +583,7 @@ const formatCart = (cartDataRet, uid, shoppingKey, cartDelList) => {
583 583
584 // 6.7.5 web端下架预售购物车功能 584 // 6.7.5 web端下架预售购物车功能
585 result.advanceCart = {}; 585 result.advanceCart = {};
  586 +
586 // let advCartData = _.get(cartData, 'advance_cart_data'); 587 // let advCartData = _.get(cartData, 'advance_cart_data');
587 // result.advanceCart = { 588 // result.advanceCart = {
588 // // 未参加活动的商品 589 // // 未参加活动的商品