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
6419ccd1
Commit
6419ccd1
authored
Feb 04, 2024
by
liguangyu06
Browse files
优化
parent
b98fad6f
Changes
3
Hide whitespace changes
Inline
Side-by-side
air_case/cmdc_31st/获取补货单商品详情.air/获取补货单商品详情.py
View file @
6419ccd1
...
...
@@ -15,8 +15,8 @@ import json
module
=
"cmdc_31st"
# 第一步登录后台运营系统获取token
username
=
commonFuc
().
get_business_data
(
module
,
"username
1
"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password
1
"
)
username
=
commonFuc
().
get_business_data
(
module
,
"username
4
"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password
4
"
)
# 获取登录后Cmdc_access_token
cmdc_access_token
=
CmdcDoLogin
(
username
,
password
).
get_token
()
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers"
,
cmdc_access_token
)
...
...
air_case/cmdc_31st/获取补货单欠货明细.air/获取补货单欠货明细.py
View file @
6419ccd1
...
...
@@ -15,8 +15,8 @@ import json
module
=
"cmdc_31st"
# 第一步登录后台运营系统获取token
username
=
commonFuc
().
get_business_data
(
module
,
"username
1
"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password
1
"
)
username
=
commonFuc
().
get_business_data
(
module
,
"username
4
"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password
4
"
)
# 获取登录后Cmdc_access_token
cmdc_access_token
=
CmdcDoLogin
(
username
,
password
).
get_token
()
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers"
,
cmdc_access_token
)
...
...
data/cmdc_31st/data
View file @
6419ccd1
...
...
@@ -15,6 +15,9 @@
"username2": "admin"
"password2": "Aa123456"
"username4": "Admin00102"
"password4": "Aa123456"
"username1_be": "admin2"
"password1_be": "Aa123456"
...
...
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