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,10 +607,10 @@ Page({
607 607
608 //如果是阶梯购的时候 608 //如果是阶梯购的时候
609 if(item.prom_type==10){ 609 if(item.prom_type==10){
610 - 610 +
611 var url = '/api/weshop/cart/update'; 611 var url = '/api/weshop/cart/update';
612 getApp().request.put(url, { 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 if(!th.data.ladder_map[item.prom_id]){ 616 if(!th.data.ladder_map[item.prom_id]){