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
9caa97ab
Commit
9caa97ab
authored
Mar 12, 2024
by
liguangyu06
Browse files
优化
parent
2cd86d31
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/cmdc_commodity_activity/查询商品详情.air/查询商品详情.py
View file @
9caa97ab
...
...
@@ -23,7 +23,7 @@ headers = commonFuc().get_business_data(module, "json_headers", cmdc_access_toke
# 第二步进行促销活动列表获取
url
=
commonFuc
().
get_api_url
()
+
commonFuc
().
get_business_data
(
module
,
"url1"
)
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload1"
)
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload1
_1
"
)
# 发送请求
result
=
requests
.
post
(
url
,
json
=
request_body
,
headers
=
headers
)
result
=
json
.
loads
(
result
.
content
)
...
...
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