Commit 896a380a authored by xiao-hesheng's avatar xiao-hesheng
Browse files

修改脚本适合融合环境

parent 91b626bb
...@@ -38,7 +38,12 @@ def h_login(): ...@@ -38,7 +38,12 @@ def h_login():
password = commonFuc().get_business_data(module, "password") password = commonFuc().get_business_data(module, "password")
print(username, password,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') print(username, password,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
# 获取token和projectCode # 获取token和projectCode
token,projectCode,uxid,corpId,info= login_system(username, password).get_token() while True:
return token,projectCode,uxid,corpId,h_name try:
token,projectCode,uxid,corpId,info= login_system(username, password).get_token()
except:
continue
else:
return token,projectCode,uxid,corpId,h_name
h_login() h_login()
\ No newline at end of file
...@@ -72,9 +72,9 @@ ...@@ -72,9 +72,9 @@
</tr> </tr>
<tr width="600"> <tr width="600">
<td class="details-col-elapsed"><a href='../log/a2器械注册人申报/log.html' target='_blank'>a2器械注册人申报</a></td> <td class="details-col-elapsed"><a href='../log/a1供货关系申请_客户类型_医院_登录_医院登录获取医院id/log.html' target='_blank'>a1供货关系申请_客户类型_医院_登录_医院登录获取医院id</a></td>
<td class="success">成功</td> <td class="success">成功</td>
<td class="details-col-elapsed">2.13</td> <td class="details-col-elapsed">2.673</td>
<td class="details-col-elapsed">xiaohesheng</td> <td class="details-col-elapsed">xiaohesheng</td>
</tr> </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