This commit is contained in:
2020-07-14 09:15:51 +08:00
parent 58b02c7432
commit 700ae94f79
3 changed files with 84 additions and 17 deletions

View File

@@ -93,8 +93,8 @@ export default {
temp = '';
})
// console.log(id);
this.$u.api.settlementOrder({ cart_id: id }).then(res => {
// ifcart 结算方式 1:购物车 0:直接结算(立即购买/拼团/秒杀)
this.$u.api.settlementOrder({ ifcart: 1, cart_id: id }).then(res => {
if(res.errCode == 0) {
this.$u.route({
url: '/pageC/cart/ConfirmOrder',