Commit 56553996 authored by xiao-hesheng's avatar xiao-hesheng
Browse files

调整产品导入脚本

parent 48ab7fee
...@@ -39,6 +39,8 @@ def h_login(): ...@@ -39,6 +39,8 @@ def h_login():
print(username, password,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') print(username, password,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
# 获取token和projectCode # 获取token和projectCode
while True: while True:
import time
time.sleep(60)
try: try:
token,projectCode,uxid,corpId,info= login_system(username, password).get_token() token,projectCode,uxid,corpId,info= login_system(username, password).get_token()
except: except:
......
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