Commit 947e5b64 authored by xiao-hesheng's avatar xiao-hesheng
Browse files

流程五脚本提交

parent 4e209504
......@@ -26,7 +26,7 @@ id1,cname=es()
#企业注册提交接口_认领
url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "updateById_url")
username = commonFuc().get_business_data(module, "username1")
password = commonFuc().get_business_data(module, "password")
password = commonFuc().get_business_data(module, "password1")
# print(username, password)
# 获取token和projectCode
token,projectCode,uxid,corpId,info= login_system(username, password).get_token()
......
......@@ -26,7 +26,7 @@ id1=global_var_id
"""
#企业注册提交接口_锁定_开始
username = commonFuc().get_business_data(module, "username1")
password = commonFuc().get_business_data(module, "password")
password = commonFuc().get_business_data(module, "password1")
# 获取token和projectCode
token,projectCode,uxid,corpId,info= login_system(username, password).get_token()
......
......@@ -31,7 +31,7 @@ def test1():
"""
# 企业注册提交接口_审核通过_开始
username = commonFuc().get_business_data(module, "username1")
password = commonFuc().get_business_data(module, "password")
password = commonFuc().get_business_data(module, "password1")
# print(username, password)
# 获取token和projectCode
token,projectCode,uxid,corpId,info= login_system(username, password).get_token()
......
......@@ -23,8 +23,8 @@ def h_login():
# 如果需要h0347医院账号登录,这里就从data文件获取登录医院的用户名
# username = commonFuc().get_business_data(module, "username")
username = commonFuc().get_business_data(module, "username")
password = commonFuc().get_business_data(module, "password1")
username = commonFuc().get_business_data(module, "test_1")
password = commonFuc().get_business_data(module, "Gyqx2023!")
print('医院名称', username)
print(username, password, 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
# 获取token和projectCode
......
......@@ -22,7 +22,7 @@ module = "b5_spd3_core_business_flow"
def h_login():
module = "a4_mdm3_cm"
username = commonFuc().get_business_data(module, "username")
password = commonFuc().get_business_data(module, "password1")
password = commonFuc().get_business_data(module, "Gyqx2023!")
print('医院名称', username)
print(username, password, 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
# 获取token和projectCode
......
......@@ -392,7 +392,7 @@ def main():
#==============删除业务数据和报表数据
test1()#参数2是新增院区后缀为6位数的参数1是老模式
#20241018,外网导入产品默认为停用状态,设置了一个参数
#select * from sys_config t where t.id ='goodsCheckAuditSpd3';
#select * from spd_ybtest_hdi.sys_config t where t.id ='goodsCheckAuditSpd3';
test2()# 科室添加产品信息(产品是从外网同步过来的)
dept_query_all()# 科室查询,将科室id写入文件中
grants_user()#给用户授权
......
......@@ -10,6 +10,7 @@
"username": "test_1"
"password": "Gyqx2023!"
"username1": "001f90380"
"password1": "1qaz!QAZ"
json_contentType: "application/json"
json_headers: {
......
"username": "test_1"
"test_1": "test_1"
"password": "a123456!"
"password1": "1qaz!QAZ"
"Gyqx2023!": "Gyqx2023!"
"username": "test_1"
"submitSupplyRelation_url": "/api/hdiFusion/supplyRelation/submitSupplyRelation"
"listVoPage_url": "/api/hdiFusion/supplyRelation/listVoPage/"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment