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
cc580b39
Commit
cc580b39
authored
Mar 12, 2024
by
liguangyu06
Browse files
优化
parent
9caa97ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/cmdc_commodity_activity/选赠促销导出功能验证.air/选赠促销导出功能验证.py
View file @
cc580b39
...
...
@@ -38,7 +38,7 @@ activity_random = random.randint(0, len(result["data"]["list"]) - 1)
# 获取促销活动信息
activityBasicId
=
result
[
"data"
][
"list"
][
activity_random
][
"activityBasicId"
]
activityName
=
result
[
"data"
][
"list"
][
activity_random
][
"activityName"
]
print
(
activityName
)
# 第三步进行选赠活动信息导出
url
=
commonFuc
().
get_api_url
()
+
commonFuc
().
get_business_data
(
module
,
"url40"
)
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload40"
,
activityBasicId
,
activityBasicId
)
...
...
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