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
5299d93b
Commit
5299d93b
authored
Mar 07, 2024
by
liguangyu06
Browse files
优化
parent
68742fef
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/cmdc_31st/补货设置信息导出.air/补货设置信息导出.py
View file @
5299d93b
...
@@ -18,8 +18,8 @@ import os
...
@@ -18,8 +18,8 @@ import os
module
=
"cmdc_31st"
module
=
"cmdc_31st"
# 第一步登录后台运营系统获取token
# 第一步登录后台运营系统获取token
username
=
commonFuc
().
get_business_data
(
module
,
"username
1
"
)
username
=
commonFuc
().
get_business_data
(
module
,
"username
4
"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password
1
"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password
4
"
)
# 获取登录后Cmdc_access_token
# 获取登录后Cmdc_access_token
cmdc_access_token
=
CmdcDoLogin
(
username
,
password
).
get_token
()
cmdc_access_token
=
CmdcDoLogin
(
username
,
password
).
get_token
()
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers"
,
cmdc_access_token
)
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers"
,
cmdc_access_token
)
...
...
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