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
1fc76cf7
Commit
1fc76cf7
authored
Mar 01, 2024
by
liguangyu06
Browse files
优化
parent
b686d7ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
air_case/cmdc_website/获取站点信息.air/获取站点信息.py
View file @
1fc76cf7
...
@@ -17,8 +17,8 @@ module = "cmdc_website"
...
@@ -17,8 +17,8 @@ module = "cmdc_website"
# print(url)
# print(url)
# 获取登录所需账号密码
# 获取登录所需账号密码
username
=
commonFuc
().
get_business_data
(
module
,
"username"
)
username
=
commonFuc
().
get_business_data
(
module
,
"username
1
"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password
1
"
)
# 获取登录后Cmdc_access_token
# 获取登录后Cmdc_access_token
cmdc_access_token
=
CmdcMaiiLogin
(
username
,
password
).
get_token
()
cmdc_access_token
=
CmdcMaiiLogin
(
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
)
...
...
data/cmdc_website/data
View file @
1fc76cf7
#后台运营管理系统登录信息(子公司-
上海
公司)
#后台运营管理系统登录信息(子公司-
国联
公司)
"username": "Admin001
11
"
"username": "Admin001
02
"
"password": "Aa123456"
"password": "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