From 4b0bf05cb59917246aced68488fb8d8e19f4cd3a Mon Sep 17 00:00:00 2001 From: Junling Bu Date: Fri, 11 May 2018 11:45:16 +0800 Subject: [PATCH] =?UTF-8?q?fix[litemall-wx]:=20=E7=AB=8B=E5=8D=B3=E8=B4=AD?= =?UTF-8?q?=E7=89=A9=E6=97=B6=E4=BB=8D=E7=84=B6=E4=B8=8B=E5=8D=95=E8=B4=AD?= =?UTF-8?q?=E7=89=A9=E8=BD=A6=E6=89=80=E6=9C=89=E5=95=86=E5=93=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- litemall-wx/pages/shopping/checkout/checkout.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litemall-wx/pages/shopping/checkout/checkout.js b/litemall-wx/pages/shopping/checkout/checkout.js index 371a507f..471ac4cc 100644 --- a/litemall-wx/pages/shopping/checkout/checkout.js +++ b/litemall-wx/pages/shopping/checkout/checkout.js @@ -101,7 +101,7 @@ Page({ util.showErrorToast('请选择收货地址'); return false; } - util.request(api.OrderSubmit, { cartId: 0, addressId: this.data.addressId, couponId: this.data.couponId }, 'POST').then(res => { + util.request(api.OrderSubmit, { cartId: this.data.cartId, addressId: this.data.addressId, couponId: this.data.couponId }, 'POST').then(res => { if (res.errno === 0) { const orderId = res.data.orderId;