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
fa749bec
Commit
fa749bec
authored
Feb 21, 2024
by
liguangyu06
Browse files
优化
parent
b1f10928
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/cmdc_product/查询条件验证_下单数量列表.air/查询条件验证_下单数量列表.py
View file @
fa749bec
...
...
@@ -15,8 +15,8 @@ import json
module
=
"cmdc_product"
# 获取登录所需账号密码
username
=
commonFuc
().
get_business_data
(
module
,
"username
1
"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password
1
"
)
username
=
commonFuc
().
get_business_data
(
module
,
"username
2
"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password
2
"
)
# 获取登录后Cmdc_access_token
cmdc_access_token
=
CmdcDoLogin
(
username
,
password
).
get_token
()
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers"
,
cmdc_access_token
)
...
...
@@ -39,7 +39,7 @@ status = result["data"]["list"][product_random]["status"]
# 进行查询条件验证
url
=
commonFuc
().
get_api_url
()
+
commonFuc
().
get_business_data
(
module
,
"url58"
)
request_body
=
commonFuc
().
get_business_data
(
module
,
"payload58"
,
product_name
,
product_code
,
specifications
,
status
)
# print(request_body)
"""
场景: 查询条件验证_下单数量列表
...
...
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