Update huaweitest.py
parent
8cc72f50ee
commit
57714ddd21
|
|
@ -25,26 +25,12 @@ async def getscriparam(request: Request):
|
||||||
formatted_now = now.strftime("%Y-%m-%d %H:%M:%S")
|
formatted_now = now.strftime("%Y-%m-%d %H:%M:%S")
|
||||||
print(f"请求IP地址: {request.client.host},请求时间{formatted_now},请求路径: /script/getscriparam")
|
print(f"请求IP地址: {request.client.host},请求时间{formatted_now},请求路径: /script/getscriparam")
|
||||||
data = {
|
data = {
|
||||||
"interaction": {
|
"interaction": {"from": 20, "to": 30},
|
||||||
"from": 20,
|
"bounceRate": {"from": 0.3, "to": 0.4},
|
||||||
"to": 30
|
"pagesToViewPerSession": {"from": 2, "to": 3},
|
||||||
},
|
"sessionsPerUser": {"from": 2, "to": 3},
|
||||||
"bounceRate": {
|
"ctr": {"from": 0.03, "to": 0.05},
|
||||||
"from": 0.3,
|
"shouldDoClick": "true"
|
||||||
"to": 0.4
|
|
||||||
},
|
|
||||||
"ctr": {
|
|
||||||
"from": 0.03,
|
|
||||||
"to": 0.05
|
|
||||||
},
|
|
||||||
"pagesToViewPerSession": {
|
|
||||||
"from": 2,
|
|
||||||
"to": 3
|
|
||||||
},
|
|
||||||
"sessionsPerUser": {
|
|
||||||
"from": 2,
|
|
||||||
"to": 3
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return data
|
return data
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue