Commit 25d93bf2d5a4ade12a2e54944bd700c8fe774c18

Authored by yvan.ni
1 parent 2b78667a

购物车的功能合并

Showing 1 changed file with 2 additions and 2 deletions
pages/cart/cart/cart.js
... ... @@ -607,10 +607,10 @@ Page({
607 607  
608 608 //如果是阶梯购的时候
609 609 if(item.prom_type==10){
610   -
  610 +
611 611 var url = '/api/weshop/cart/update';
612 612 getApp().request.put(url, {
613   - data:{id:item.id,store_id:oo.stoid,prom_type:10,prom_id:act.id}
  613 + data:{id:item.id,store_id:oo.stoid,prom_type:10,prom_id:item.prom_id}
614 614 });
615 615  
616 616 if(!th.data.ladder_map[item.prom_id]){
... ...