diff --git a/subPackages/user/gwc.vue b/subPackages/user/gwc.vue index 6fc59cf..4667843 100644 --- a/subPackages/user/gwc.vue +++ b/subPackages/user/gwc.vue @@ -12,8 +12,8 @@ - + + {{ goodItem.goodsName }} {{ @@ -154,7 +154,7 @@ cartId: item.id, quantity: item.quantity, }, - "/framework/cart/updateQuantity","DES" + "/framework/cart/updateQuantity", "DES" ) .then(function(res) { if (res) { @@ -185,7 +185,7 @@ // 去购物 goShopping() { uni.switchTab({ - url: "/pages/index/timeShopBank", + url: "/pages/index/index", }); }, // 改变所有选中 @@ -209,9 +209,9 @@ if (res.confirm) { this.Post({ s_id: id, + method: 'delete' }, `/framework/cart/remove/${id}`, - "DES" ) .then((res) => { @@ -247,8 +247,9 @@ }); this.Post({ s_id: ids.toString(), + method: 'delete' }, - "/api/shopping/delShopping", + `/framework/cart/remove/${ids.toString()}`, "DES" ) .then((res) => { @@ -297,7 +298,7 @@ if (res.confirm) { this.Post({ s_id: ids.toString(), - method:'delete' + method: 'delete' }, `/framework/cart/remove/${ids.toString()}`, "DES"