修复添加直播商品报错问题
parent
cddd94b9e5
commit
7d90846960
|
@ -44,7 +44,7 @@ export const addLiveStoreGoods = (params) => {
|
||||||
// 店铺直播间添加
|
// 店铺直播间添加
|
||||||
export const addLiveGoods = (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({
|
addLiveGoods({
|
||||||
roomId: this.$route.query.roomId,
|
roomId: this.$route.query.roomId,
|
||||||
liveGoodsId: way.liveGoodsId,
|
liveGoodsId: way.liveGoodsId,
|
||||||
|
goodsId: way.goodsId,
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.liveData.push(way);
|
this.liveData.push(way);
|
||||||
|
|
Loading…
Reference in New Issue