Commit 0464436d authored by xiao-hesheng's avatar xiao-hesheng
Browse files

供货目录申请

parent 275455b2
......@@ -44,6 +44,7 @@ class login_system():
print(headers)
# 发送登录请求
result = commonFuc().http_post(login_url, request_body, headers)
print('登录结果',result)
token = commonFuc().analysis_json('token', result)
uxid = commonFuc().analysis_json('uxid', result)
projectCode = commonFuc().analysis_json('projectCode', result)
......@@ -56,7 +57,7 @@ class login_system():
platform_login_url = commonFuc().get_api_url() + commonFuc().get_business_data(self.module,
"platform_login_url")
request_body = commonFuc().get_business_data(self.module, "payload2", token, uxid, projectCode)
print(request_body)
print('平台登录请求体',request_body)
# 发送平台登录请求
result = commonFuc().http_post(platform_login_url, request_body, headers)
print('平台登录接口结果', result)
......@@ -69,6 +70,6 @@ class login_system():
return token,projectCode
login_system('test001', '1qaz!QAZ').get_token()
# login_system('1679886114521', 'a123456!').get_token()
# if __name__ == '__main__':
# print(login_system('test001','a123456!').get_token())
# print(login_system('test001','1qaz!QAZ').get_token())
......@@ -71,6 +71,7 @@ class login_system():
return token,projectCode,uxid,corpId,info
# login_system('test001', 'a123456!').get_token()
print(login_system('1679886114521', 'a123456!').get_token())
# if __name__ == '__main__':
# print(login_system('test001','a123456!').get_token())
# print(login_system('test001','1qaz!QAZ').get_token())
#1679886114521 a123456!
"username": "1679886114521"
"password": "a123456!"
"username": "test001"
"password": "1qaz!QAZ"
"submitSupplyRelation_url": "/test2api/mdmService/supplyRelation/submitSupplyRelation/"
"listVoPage_url": "/test2api/mdmService/supplyRelation/listVoPage/"
......
......@@ -6,8 +6,8 @@
"upCompanyList_url": "/test2api/mdmService/mdmCompany/upCompanyList"
"auditCompanyRegistBill_url": "/test2api/mdmService/companyRegistBill/auditCompanyRegistBill/"
"updateByIdCompanyRegistBill_url": "/test2api/mdmService/companyRegistBill/updateById/"
"username": "1679886114521"
"password": "a123456!"
"username": "test001"
"password": "1qaz!QAZ"
json_contentType: "application/json"
json_headers: {
......
......@@ -3,8 +3,8 @@
"queryListPage_url": "/test2api/mdmService/companyRegistBill/listPage"
"updateById_url": "/test2api/mdmService/companyRegistBill/updateById"
"checkHosRegistInfo_url": "/test2api/mdmService/companyRegistBill/checkHosRegistInfo"
"username": "1679886114521"
"password": "a123456!"
"username": "test001"
"password": "1qaz!QAZ"
json_contentType: "application/json"
......
"username": "1679886114521"
"password": "a123456!"
"username": "test001"
"password": "1qaz!QAZ"
"listVoPage_url": "/test2api/mdmService/provMfrsInfo/listVoPage/"
"registrantFromCompany_url": "/test2api/mdmService/companyRegistBill/registrantFromCompany/"
"queryListPage_url": "/test2api/mdmService/companyRegistBill/queryListPage/"
......
......@@ -2,8 +2,8 @@
"VerifyCode_url": "/test2api/oauthService/auth/getVerifyCode"
"login_url": "/test2api/oauthService/auth/login"
"platform_login_url": "/test2api/platformService/userOnline/getUserOnlineLogin"
"username": "1679886114521"
"password": "a123456!"
"username": "test001"
"password": "1qaz!QAZ"
json_contentType: "application/json"
json_headers: {
"Content-Type": "%s"
......
......@@ -10,8 +10,8 @@
"handleAuditGoodsRegist_url": "/test2api/mdmService/goodsRegistBill/handleAuditGoodsRegist/"
"submitGoodsSpecsRegist_url": "/test2api/mdmService/goodsRegistBill/submitGoodsSpecsRegist/"
"listAuditBillByPage_url": "/test2api/mdmService/goodsRegistBill/listAuditBillByPage/"
"username": "1679886114521"
"password": "a123456!"
"username": "test001"
"password": "1qaz!QAZ"
json_contentType: "application/json"
......
......@@ -12,8 +12,8 @@
"handleAuditSpecRegist_url": "/test2api/mdmService/goodsRegistBill/handleAuditSpecRegist/"
"18FL_url": "/test2api/platformService/dict/f/getDictionary/18FL/"
"listMdmGoodsInfoByPage_url": "/test2api/mdmService/mdmGoodsInfo/listMdmGoodsInfoByPage/"
"username": "1679886114521"
"password": "a123456!"
"username": "test001"
"password": "1qaz!QAZ"
json_contentType: "application/json"
......
......@@ -55,9 +55,9 @@
<tr width="600">
<td class='details-col-elapsed'>1</td>
<td class='details-col-elapsed'>1</td>
<td class='details-col-elapsed'>0分1</td>
<td class="details-col-elapsed">100.0%</td>
<td class='details-col-elapsed'>0</td>
<td class='details-col-elapsed'>0分0</td>
<td class="details-col-elapsed">0.0%</td>
</tr>
</table>
......@@ -72,9 +72,9 @@
</tr>
<tr width="600">
<td class="details-col-elapsed"><a href='../log/b18供货目录申请_客户类型_医院_提交供货申请单_添加产品/log.html' target='_blank'>b18供货目录申请_客户类型_医院_提交供货申请单_添加产品</a></td>
<td class="success">成功</td>
<td class="details-col-elapsed">1.552</td>
<td class="details-col-elapsed"><a href='../log/登录外网系统/log.html' target='_blank'>登录外网系统</a></td>
<td class="fail">失败</td>
<td class="details-col-elapsed">0.579</td>
<td class="details-col-elapsed">xiaohesheng</td>
</tr>
......
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