Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
2
20250310_人保春游
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
SparkProjects
20250310_人保春游
Commits
5d233950
Commit
5d233950
authored
Mar 18, 2025
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新域名埋点问题
parent
8d9e5c73
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
MD.js
MD.js
+8
-2
No files found.
MD.js
View file @
5d233950
import
MD
from
'spark-utils/out/md/index.js'
;
import
MD
from
'spark-utils/out/md/index.js'
;
import
{
logClick
,
logExposure
}
from
"@spark/utils/src-js/md"
;
import
{
logClick
}
from
"@spark/utils/src-js/md"
;
import
{
jsonp
}
from
"@spark/api-base"
;
let
appId
=
CFG
.
appID
;
let
appId
=
CFG
.
appID
;
const
dcm
=
'202.'
+
CFG
.
projectId
+
'.0.0'
;
const
dcm
=
'202.'
+
CFG
.
projectId
+
'.0.0'
;
const
domain
=
'
//embedlog.duiba.com.cn
'
;
const
domain
=
''
;
const
dom
=
`
${
CFG
.
channel
}
.0.0.0`
;
const
dom
=
`
${
CFG
.
channel
}
.0.0.0`
;
const
MDList
=
new
Array
(
32
).
fill
(
""
).
map
((
v
,
i
)
=>
{
const
MDList
=
new
Array
(
32
).
fill
(
""
).
map
((
v
,
i
)
=>
{
...
@@ -27,6 +28,11 @@ export default () =>
...
@@ -27,6 +28,11 @@ export default () =>
click
:
MDList
// 点击
click
:
MDList
// 点击
});
});
export
function
logExposure
(
params
)
{
jsonp
(
"/exposure/standard"
,
params
);
}
export
function
handleLogExposure
(
id
,
id2
=
1
)
{
export
function
handleLogExposure
(
id
,
id2
=
1
)
{
logExposure
({
logExposure
({
dpm
:
`
${
appId
}
.110.
${
id
}
.
${
id2
}
`
,
dpm
:
`
${
appId
}
.110.
${
id
}
.
${
id2
}
`
,
...
...
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