Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
test
autotest-airtest-web-cmdc
Commits
48ec790b
Commit
48ec790b
authored
Jan 17, 2024
by
liguangyu06
Browse files
优化
parent
da7d6ecb
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/cmdc_special_fresenius_group/启用_批量_特价单品.air/启用_批量_特价单品.py
View file @
48ec790b
...
@@ -78,6 +78,7 @@ result = requests.post(url, json=request_body, headers=headers)
...
@@ -78,6 +78,7 @@ result = requests.post(url, json=request_body, headers=headers)
# 获取接口响应时间
# 获取接口响应时间
api_time
=
float
(
result
.
elapsed
.
total_seconds
())
api_time
=
float
(
result
.
elapsed
.
total_seconds
())
# print(result)
# print(result)
result
=
json
.
loads
(
result
.
content
)
file
.
close
()
file
.
close
()
if
result
[
"success"
]:
if
result
[
"success"
]:
# 数据库操作
# 数据库操作
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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