Commit 569ae4e8 authored by wangzhujun's avatar wangzhujun

>????

parent fb639686
...@@ -37,10 +37,11 @@ export class Buried { ...@@ -37,10 +37,11 @@ export class Buried {
* @param {string} embedDomain 埋点域名 * @param {string} embedDomain 埋点域名
* @returns {{dpm: string; consumerId: number; domain: string; appId: number}} * @returns {{dpm: string; consumerId: number; domain: string; appId: number}}
*/ */
public static createExposure(dpm: string, dcm: string, embedDomain = '//embedlog.duiba.com.cn'): IExposureData { public static createExposure(dpm: string, dcm: string,dom:string, embedDomain = '//embedlog.duiba.com.cn'): IExposureData {
const exposure: any = { const exposure: any = {
dpm: dpm, dpm: dpm,
dcm: dcm, dcm: dcm,
dom: dom,
appId: Buried.appId, appId: Buried.appId,
domain: embedDomain domain: embedDomain
}; };
......
...@@ -4,5 +4,6 @@ import {props} from '../props' ...@@ -4,5 +4,6 @@ import {props} from '../props'
export const getlogItem = (i) =>{ export const getlogItem = (i) =>{
const Dpm = Buried.connectDpm(110, i, 1); // 点击埋点 const Dpm = Buried.connectDpm(110, i, 1); // 点击埋点
const Dcm = Buried.connectDcm(202, 0, 0); // 曝光埋点 const Dcm = Buried.connectDcm(202, 0, 0); // 曝光埋点
return Buried.createExposure(Dpm, Dcm); const Dom = `${window['channel']}.0.0.0`
return Buried.createExposure(Dpm, Dcm,Dom);
}; };
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment