Commit 54b2ec54 by 李伟康

修改直播埋点

1 parent 6777f49d
...@@ -101,7 +101,8 @@ export default { ...@@ -101,7 +101,8 @@ export default {
merchantId: params.merchantId, merchantId: params.merchantId,
bizDataType: 1, bizDataType: 1,
operationType: 3, operationType: 3,
operationDate: new Date().format('yyyy-MM-dd hh:mm:ss') operationDate: new Date().format('yyyy-MM-dd hh:mm:ss'),
visitSource: 'H5-众筹'
} }
data.method = 'scrm.api.shopmall.livebroadcast.report' data.method = 'scrm.api.shopmall.livebroadcast.report'
return window.$HTTP({ return window.$HTTP({
......
...@@ -296,10 +296,10 @@ export default { ...@@ -296,10 +296,10 @@ export default {
else this.to('crowdfunding.success', { orderInfo }) else this.to('crowdfunding.success', { orderInfo })
} }
if (videoFullscreen) { if (videoFullscreen) {
console.log('直播间下单') console.log('直播间下单',orderInfo)
const res = await shopmallApi.liveRoomReport({ const res = await shopmallApi.liveRoomReport({
bizDataCode: orderInfo.orderCode, bizDataCode: orderInfo.orderCode,
liveBroadcastRoomId: orderInfo.liveBroadcastRoomId 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!