商品详情和购物车跳转到结算页面时传入商品分类编号,以便查询可用优惠券

pull/69/head
卢越 2024-08-08 09:45:12 +08:00
parent 3099c8c491
commit 2eb1a1bf41
2 changed files with 3 additions and 1 deletions

View File

@ -156,7 +156,8 @@
data: JSON.stringify({
items: [{
skuId: e.id,
count: e.goods_num
count: e.goods_num,
categoryId: state.goodsInfo.categoryId
}]
}),
});

View File

@ -107,6 +107,7 @@
skuId: item.sku.id,
count: item.count,
cartId: item.id,
categoryId: item.spu.categoryId
})
goods_list.push({
// goods_id: item.goods_id,