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
4d2bde0a
Commit
4d2bde0a
authored
Mar 06, 2024
by
liguangyu06
Browse files
优化
parent
c235e197
Changes
2
Hide whitespace changes
Inline
Side-by-side
air_case/cmdc_website/列表查询条件验证_公司基础配置列表.air/列表查询条件验证_公司基础配置列表.py
View file @
4d2bde0a
...
...
@@ -2,7 +2,7 @@
__author__
=
"liguangyu"
"""
case_tag:cmdc_api,cmdc列表查询条件验证_公司基础配置列表,2256,2256-35,sit,b
s
case_tag:cmdc_api,cmdc列表查询条件验证_公司基础配置列表,2256,2256-35,sit,b
e
主数据平台:后台运营系统获取公司基础配置信息接口
"""
...
...
@@ -15,8 +15,8 @@ import json
module
=
"cmdc_website"
# 第一步登录后台运营系统获取token
username
=
commonFuc
().
get_business_data
(
module
,
"username"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password"
)
username
=
commonFuc
().
get_business_data
(
module
,
"username
_beta
"
)
password
=
commonFuc
().
get_business_data
(
module
,
"password
_beta
"
)
# 获取登录后Cmdc_access_token
cmdc_access_token
=
CmdcDoLogin
(
username
,
password
).
get_token
()
headers
=
commonFuc
().
get_business_data
(
module
,
"json_headers1"
,
cmdc_access_token
)
...
...
data/cmdc_website/data
View file @
4d2bde0a
...
...
@@ -2,6 +2,10 @@
"username2": "admin"
"password2": "Aa123456"
#后台运营管理系统登录信息(总公司-beta)
"username_beta": "admin1"
"password_beta": "Aa123456"
#后台运营管理系统登录信息(子公司-国联公司)
"username": "Admin00102"
"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