Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zeroing-libs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
劳工
zeroing-libs
Commits
569ae4e8
Commit
569ae4e8
authored
Dec 24, 2020
by
wangzhujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
>????
parent
fb639686
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
Buried.ts
src/custom/superman/src/game/Buried.ts
+2
-1
getlogItem.ts
src/custom/superman/src/game/getlogItem.ts
+2
-1
No files found.
src/custom/superman/src/game/Buried.ts
View file @
569ae4e8
...
@@ -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
};
};
...
...
src/custom/superman/src/game/getlogItem.ts
View file @
569ae4e8
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment