Commit 4b0bf05c authored by Junling Bu's avatar Junling Bu
Browse files

fix[litemall-wx]: 立即购物时仍然下单购物车所有商品。

parent e1111fed
...@@ -101,7 +101,7 @@ Page({ ...@@ -101,7 +101,7 @@ Page({
util.showErrorToast('请选择收货地址'); util.showErrorToast('请选择收货地址');
return false; 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) { if (res.errno === 0) {
const orderId = res.data.orderId; const orderId = res.data.orderId;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment