修复添加直播商品报错问题
parent
cddd94b9e5
commit
7d90846960
|
@ -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})
|
||||
}
|
||||
|
||||
// 获取拼团列表
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue