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
f68d5708
Commit
f68d5708
authored
Mar 02, 2022
by
liuxiaoxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
443c541a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
9 deletions
+4
-9
misc.xml
.idea/misc.xml
+2
-1
jifenqiang.py
jifenqiang.py
+0
-2
attributioncase.py
microservices/attributioncase.py
+0
-0
clickparams.py
microservices/clickparams.py
+2
-6
No files found.
.idea/misc.xml
View file @
f68d5708
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"ProjectRootManager"
version=
"2"
project-jdk-name=
"
NewPython 3.7 (test
)"
project-jdk-type=
"Python SDK"
/>
<component
name=
"ProjectRootManager"
version=
"2"
project-jdk-name=
"
Python 3.9 (PythonProjects
)"
project-jdk-type=
"Python SDK"
/>
</project>
\ No newline at end of file
jifenqiang.py
View file @
f68d5708
...
...
@@ -14,6 +14,5 @@ s = json.dumps({
"appid"
:
"1234557890"
})
p
=
requests
.
post
(
test_url
,
data
=
s
)
print
(
p
)
\ No newline at end of file
microservices/attributioncase.py
View file @
f68d5708
This diff is collapsed.
Click to expand it.
microservices/clickparams.py
View file @
f68d5708
...
...
@@ -3,8 +3,6 @@ parms = {
'ts'
:
'2122132121'
,
# 集成方式。is_s2s=1为服务器上报触点,0为客户端上报触点。0或1时有不同的参数非空校验,详见需求。固定为0或1。都必传
'is_s2s'
:
'1'
,
# 操作系统。限制16字符内。都选传。短链传参。暂不与app_platform互相做校验。
'os'
:
'ios'
,
# 设备型号。限制64字符内。都选传。短链传参。
'model'
:
'小米'
,
# 用户公网IP v4版本。限制15字符内。is_s2s=1时都必传,0时都选传,0时优先取传参IP,未传参或传参报错时,取http header中的ip作为ipv4的值
...
...
@@ -62,8 +60,8 @@ parms = {
}
parmsios
=
{
parms_ios
=
{
# 操作系统。限制16字符内。都选传。短链传参。暂不与app_platform互相做校验。
'os'
:
'ios'
,
# iOS IDFA原值。固定为36字符
...
...
@@ -74,7 +72,7 @@ parmsios = {
}
parmsandroid
=
{
parms
_
android
=
{
# Android OAID原值。限制512字符内。Android选传,app_platform=ios时报错
'oaid'
:
'3DEA635F-B24F-434B-833F-4ED028FEAEEF'
,
# Android OAID原值MD5后转小写。固定为32字符。Android选传,app_platform=ios时报错
...
...
@@ -99,5 +97,4 @@ parmsandroid = {
'android_id'
:
''
,
# Android ID原值MD5后转小写。固定为32字符。Android选传,app_platform=ios时报错
'android_id_md5'
:
''
,
}
\ 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