Commit 54d8e254 by chenwq

im埋点加字段

1 parent f331602b
......@@ -47,7 +47,7 @@
<div v-show="videoFullscreen">
<!-- IM -->
<im v-if="LiveProps[liveDetail.status].isLive" :liveDetail="liveDetail" :isAction="isAction" class="Im"></im>
<im v-if="LiveProps[liveDetail.status].isLive" :liveDetail="liveDetail" :isAction="isAction" :detail="detail" class="Im"></im>
<action :videoFullscreen="true" class="BgAction" v-show="isAction && !LiveProps[liveDetail.status].isLive"></action>
</div>
</div>
......
......@@ -50,6 +50,10 @@ export default {
}
},
props: {
detail: {
type: Object,
default: () => { }
},
liveDetail: {
type: Object,
default: () => {
......@@ -93,7 +97,15 @@ export default {
const userId = userInfo.openid || userInfo.uuid
// const userId = userInfo.nickName || userInfo.userName
const params = this.getLocalStorage('wx_scrm_link_params') || {}
shopmallApi.getLiveSig({ userId: userId, sourceShopId: params.merchantId || '', visitSource: 'H5-众筹' }).then(res => {
// sourceShopId-来源门店;visitSource-访问来源;bizType-业务类型(0-众筹);bizCode-业务标识(众筹-活动ID)
const obj = {
userId: userId,
sourceShopId: params.merchantId || '',
visitSource: 'H5-众筹',
bizType: 0,
bizCode: this.detail.id
}
shopmallApi.getLiveSig(obj).then(res => {
this.userSig = res.userSig
this.initTim()
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!