diff --git a/seller/src/api/promotion.js b/seller/src/api/promotion.js index bce75905..ea304376 100644 --- a/seller/src/api/promotion.js +++ b/seller/src/api/promotion.js @@ -44,7 +44,7 @@ export const addLiveStoreGoods = (params) => { // 店铺直播间添加 export const addLiveGoods = (params) => { - return putRequest(`/broadcast/studio/push/${params.roomId}/${params.liveGoodsId}`) + return putRequest(`/broadcast/studio/push/${params.roomId}/${params.liveGoodsId}`, {goodsId: params.goodsId}) } // 获取拼团列表 diff --git a/seller/src/views/promotion/live/addLive.vue b/seller/src/views/promotion/live/addLive.vue index 0a22b582..4c4be551 100644 --- a/seller/src/views/promotion/live/addLive.vue +++ b/seller/src/views/promotion/live/addLive.vue @@ -438,6 +438,7 @@ export default { addLiveGoods({ roomId: this.$route.query.roomId, liveGoodsId: way.liveGoodsId, + goodsId: way.goodsId, }).then((res) => { if (res.success) { this.liveData.push(way);