diff --git a/pages/cart/cart/cart.js b/pages/cart/cart/cart.js index 5b704e4..19006ac 100644 --- a/pages/cart/cart/cart.js +++ b/pages/cart/cart/cart.js @@ -408,11 +408,11 @@ Page({ } act=res.data.data; - }else{ - //未找到商品的活动 - isok = 0; } - + // else{ + // //未找到商品的活动 + // isok = 0; + // } }) if (!isok){ var url = '/api/weshop/cart/del/' + oo.stoid + '/' + item.id; @@ -453,12 +453,12 @@ Page({ item.buyqty=t_item.buyqty; item.zh_b_num=promgoodsbuynum; item.act=th.data.zuhe_map[item.prom_id]; - }else{ - var url = '/api/weshop/cart/del/' + oo.stoid + '/' + item.id; - getApp().request.delete(url, {}); - th.data.zuhe_map[item.prom_id]=-1; - continue; - } + }//else{ + // var url = '/api/weshop/cart/del/' + oo.stoid + '/' + item.id; + // getApp().request.delete(url, {}); + // th.data.zuhe_map[item.prom_id]=-1; + // continue; + // } } else if(item.prom_type == 0) { //如果有优惠活动,要更新活动