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
de11c189
Commit
de11c189
authored
1 year ago
by
liguangyu06
Browse files
Options
Download
Email Patches
Plain Diff
优化
parent
1ac874b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
air_case/cmdc_order_list/导出功能验证_商品预测明细.air/导出功能验证_商品预测明细.py
+2
-2
air_case/cmdc_order_list/导出功能验证_商品预测明细.air/导出功能验证_商品预测明细.py
with
2 additions
and
2 deletions
+2
-2
air_case/cmdc_order_list/导出功能验证_商品预测明细.air/导出功能验证_商品预测明细.py
+
2
-
2
View file @
de11c189
...
...
@@ -32,9 +32,9 @@ result = requests.post(url, json=request_body, headers=headers)
result
=
json
.
loads
(
result
.
content
)
# 生成随机数
pr_random
=
random
.
randint
(
0
,
len
(
result
[
"data"
])
-
1
)
pr_random
=
random
.
randint
(
0
,
len
(
result
[
"data"
]
[
"list"
]
)
-
1
)
# 获取商品信息
customerInfo
=
result
[
"data"
][
pr_random
][
"customerCode"
]
customerInfo
=
result
[
"data"
][
"list"
][
pr_random
][
"customerCode"
]
# 第三步商品预测明细导出操作
url
=
commonFuc
().
get_api_url
()
+
commonFuc
().
get_business_data
(
module
,
"url85"
)
...
...
This diff is collapsed.
Click to expand it.
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