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
6f34895f
Commit
6f34895f
authored
Jun 04, 2024
by
liguangyu06
Browse files
用例优化
parent
b99655b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
air_case/cmdc_ls/获取省份信息列表.air/获取省份信息列表.py
View file @
6f34895f
...
@@ -15,8 +15,8 @@ import json
...
@@ -15,8 +15,8 @@ import json
module
=
"cmdc_ls"
module
=
"cmdc_ls"
# 第一步登录后台运营系统获取token
# 第一步登录后台运营系统获取token
username
=
commonFuc
().
get_business_data
(
module
,
"username_do_
be
"
)
username
=
commonFuc
().
get_business_data
(
module
,
"username_do_
admin
"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password_do_
be
"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password_do_
admin
"
)
# 获取登录后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
)
...
...
data/cmdc_ls/data
View file @
6f34895f
...
@@ -6,6 +6,9 @@
...
@@ -6,6 +6,9 @@
"username_do_be": "admin2"
"username_do_be": "admin2"
"password_do_be": "@Aa123456"
"password_do_be": "@Aa123456"
#后台运营平台(总公司)
"username_do_admin": "admin1"
"password_do_admin": "Aa123456"
#uat环境
#uat环境
#后台管理系统headers
#后台管理系统headers
...
...
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