Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tkio-test-case
Project
Overview
Details
Activity
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
liuxiaoxing
tkio-test-case
Commits
1b4eebee
Commit
1b4eebee
authored
Jun 15, 2022
by
liuxiaoxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增tkio归因脚本
parent
2e06947d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tkioreceive.py
click-test/tkioreceive.py
+2
-1
No files found.
click-test/tkioreceive.py
View file @
1b4eebee
...
...
@@ -2,7 +2,7 @@ import requests
url
=
"http://log.trackingio.com/receive/tkio//install"
payload
=
"{
\
"
what
\"
:
\"
install
\"
,
\"
appid
\"
:
\"
d7fbbb5410a9b70754c9d1e8f16741b3
\"
,
\"
context
\"
: {
\t\"
_deviceid
\"
:
\"
AHDIF5CJ-2JV8-FIPS-4RYB-PTTEMXYHUFVB
\"
,
\t\"
_idfa
\"
:
\"
AHDIF5CJ-2JV8-FIPS-4RYB-PTTEMXYHUFVB
\"
,
\t\"
_idfv
\"
:
\"
64F5A794-A942-4209-81B0-D28FD01E9287
\"
,
\t\"
_ip
\"
:
\"
125.121.15.3
\"
,
\t\"
_manufacturer
\"
:
\"
vivo
\"
,
\t\"
_ryos
\"
:
\"
ios
\"
,
\t\"
_rydevicetype
\"
:
\"
vivox9
\"
,
\t\"
_networktype
\"
:
\"
5g
\"
,
\t\"
_resolution
\"
:
\"
1344*750
\"
,
\t\"
_carrier
\"
:
\"\\
u4e2d
\\
u56fd
\\
u8054
\\
u901a
\"
,
\t\"
_timestamp
\"
: 1655291783782,
\t\"
_model
\"
:
\"
jixing
\"
,
\t\"
_ryosversion
\"
:
\"
13.6.1
\"
,
\t\"
__model
\"
:
\"
jixing
\"
},
\"
when
\"
:
\"
2022-06-15 19:16:23
\"
,
\"
ds
\"
:
\"
2022-06-15
\"
,
\"
who
\"
:
\"
lxx_test
\"\n
}"
payload
=
"{
\
n\t\"
what
\"
:
\"
install
\"
,
\n\t\"
appid
\"
:
\"
d7fbbb5410a9b70754c9d1e8f16741b3
\"
,
\n\t\"
context
\"
: {
\n\t\t\"
_deviceid
\"
:
\"
AHDIF5CJ-2JV8-FIPS-4RYB-PTTEMXYHUFVB
\"
,
\n\t\t\"
_idfa
\"
:
\"
AHDIF5CJ-2JV8-FIPS-4RYB-PTTEMXYHUFVB
\"
,
\n\t\t\"
_idfv
\"
:
\"
64F5A794-A942-4209-81B0-D28FD01E9287
\"
,
\n\t\t\"
_ip
\"
:
\"
125.121.15.3
\"
,
\n\t\t\"
_manufacturer
\"
:
\"
vivo
\"
,
\n\t\t\"
_ryos
\"
:
\"
ios
\"
,
\n\t\t\"
_rydevicetype
\"
:
\"
vivox9
\"
,
\n\t\t\"
_networktype
\"
:
\"
5g
\"
,
\n\t\t\"
_resolution
\"
:
\"
1344*750
\"
,
\n\t\t\"
_carrier
\"
:
\"\\
u4e2d
\\
u56fd
\\
u8054
\\
u901a
\"
,
\n\t\t\"
_timestamp
\"
: 1655291783782,
\n\t\t\"
_model
\"
:
\"
jixing
\"
,
\n\t\t\"
_ryosversion
\"
:
\"
13.6.1
\"
,
\n\t\t\"
__model
\"
:
\"
jixing
\"\n\t
},
\n\t\"
when
\"
:
\"
2022-06-15 19:16:23
\"
,
\n\t\"
ds
\"
:
\"
2022-06-15
\"
,
\n\t
\"
who
\"
:
\"
lxx_test
\"\n
}"
headers
=
{
'Content-Type'
:
'application/json'
}
...
...
@@ -10,3 +10,4 @@ headers = {
response
=
requests
.
request
(
"POST"
,
url
,
headers
=
headers
,
data
=
payload
)
print
(
response
.
text
)
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