Commit 64b5184b by 李伟康

提交代码

1 parent 231d5e09
...@@ -247,6 +247,7 @@ export default { ...@@ -247,6 +247,7 @@ export default {
isExclusive: linkParams.isExclusive || ''//专属链接参数 isExclusive: linkParams.isExclusive || ''//专属链接参数
} }
shopmallApi.createOrder(params).then(({ data, code, message }) => { shopmallApi.createOrder(params).then(({ data, code, message }) => {
if(detail.liveBroadcastRoomId) data.liveBroadcastRoomId = detail.liveBroadcastRoomId
if (code == '0') that.pay(data) if (code == '0') that.pay(data)
else { else {
that.payStatus = Date.now() that.payStatus = Date.now()
...@@ -298,7 +299,7 @@ export default { ...@@ -298,7 +299,7 @@ export default {
console.log('直播间下单') console.log('直播间下单')
const res = await shopmallApi.liveRoomReport({ const res = await shopmallApi.liveRoomReport({
bizDataCode: orderInfo.orderCode, bizDataCode: orderInfo.orderCode,
liveBroadcastRoomId: 53 liveBroadcastRoomId: orderInfo.liveBroadcastRoomId
}) })
console.log(res) console.log(res)
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!