Commit f68d5708 by liuxiaoxing

init

parent 443c541a
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <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> </project>
\ No newline at end of file
...@@ -14,6 +14,5 @@ s = json.dumps({ ...@@ -14,6 +14,5 @@ s = json.dumps({
"appid":"1234557890" "appid":"1234557890"
}) })
p = requests.post(test_url,data=s) p = requests.post(test_url,data=s)
print(p) print(p)
\ No newline at end of file
...@@ -3,8 +3,6 @@ parms = { ...@@ -3,8 +3,6 @@ parms = {
'ts': '2122132121', 'ts': '2122132121',
# 集成方式。is_s2s=1为服务器上报触点,0为客户端上报触点。0或1时有不同的参数非空校验,详见需求。固定为0或1。都必传 # 集成方式。is_s2s=1为服务器上报触点,0为客户端上报触点。0或1时有不同的参数非空校验,详见需求。固定为0或1。都必传
'is_s2s': '1', 'is_s2s': '1',
# 操作系统。限制16字符内。都选传。短链传参。暂不与app_platform互相做校验。
'os': 'ios',
# 设备型号。限制64字符内。都选传。短链传参。 # 设备型号。限制64字符内。都选传。短链传参。
'model': '小米', 'model': '小米',
# 用户公网IP v4版本。限制15字符内。is_s2s=1时都必传,0时都选传,0时优先取传参IP,未传参或传参报错时,取http header中的ip作为ipv4的值 # 用户公网IP v4版本。限制15字符内。is_s2s=1时都必传,0时都选传,0时优先取传参IP,未传参或传参报错时,取http header中的ip作为ipv4的值
...@@ -62,8 +60,8 @@ parms = { ...@@ -62,8 +60,8 @@ parms = {
} }
parmsios = {
parms_ios = {
# 操作系统。限制16字符内。都选传。短链传参。暂不与app_platform互相做校验。 # 操作系统。限制16字符内。都选传。短链传参。暂不与app_platform互相做校验。
'os': 'ios', 'os': 'ios',
# iOS IDFA原值。固定为36字符 # iOS IDFA原值。固定为36字符
...@@ -74,7 +72,7 @@ parmsios = { ...@@ -74,7 +72,7 @@ parmsios = {
} }
parmsandroid = { parms_android = {
# Android OAID原值。限制512字符内。Android选传,app_platform=ios时报错 # Android OAID原值。限制512字符内。Android选传,app_platform=ios时报错
'oaid': '3DEA635F-B24F-434B-833F-4ED028FEAEEF', 'oaid': '3DEA635F-B24F-434B-833F-4ED028FEAEEF',
# Android OAID原值MD5后转小写。固定为32字符。Android选传,app_platform=ios时报错 # Android OAID原值MD5后转小写。固定为32字符。Android选传,app_platform=ios时报错
...@@ -99,5 +97,4 @@ parmsandroid = { ...@@ -99,5 +97,4 @@ parmsandroid = {
'android_id': '', 'android_id': '',
# Android ID原值MD5后转小写。固定为32字符。Android选传,app_platform=ios时报错 # Android ID原值MD5后转小写。固定为32字符。Android选传,app_platform=ios时报错
'android_id_md5': '', 'android_id_md5': '',
} }
\ 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