From 7d90846960299dc93f49e03c459e88f0d68706ac Mon Sep 17 00:00:00 2001 From: paulGao Date: Tue, 20 Sep 2022 19:07:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B7=BB=E5=8A=A0=E7=9B=B4?= =?UTF-8?q?=E6=92=AD=E5=95=86=E5=93=81=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seller/src/api/promotion.js | 2 +- seller/src/views/promotion/live/addLive.vue | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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);