add workflow 荟聚API,dev
This commit is contained in:
parent
890fd53235
commit
a5c4730a86
|
@ -44,7 +44,7 @@ print('开始请求令牌。')
|
|||
auth = get_token(authUrl)
|
||||
#循环判断auth是否为空,若为空,等待30s后重新请求
|
||||
i = 0
|
||||
while not auth and i < 60:
|
||||
while not auth['access_token'] and i < 60:
|
||||
time.sleep(60)
|
||||
auth = get_token(authUrl)
|
||||
i = i + 1
|
||||
|
|
|
@ -44,7 +44,7 @@ print('开始请求令牌。')
|
|||
auth = get_token(authUrl)
|
||||
#循环判断auth是否为空,若为空,等待30s后重新请求
|
||||
i = 0
|
||||
while not auth and i < 60:
|
||||
while not auth['access_token'] and i < 60:
|
||||
time.sleep(60)
|
||||
auth = get_token(authUrl)
|
||||
i = i + 1
|
||||
|
|
|
@ -44,7 +44,7 @@ print('开始请求令牌。')
|
|||
auth = get_token(authUrl)
|
||||
#循环判断auth是否为空,若为空,等待30s后重新请求
|
||||
i = 0
|
||||
while not auth and i < 60:
|
||||
while not auth['access_token'] and i < 60:
|
||||
time.sleep(60)
|
||||
auth = get_token(authUrl)
|
||||
i = i + 1
|
||||
|
|
|
@ -44,7 +44,7 @@ print('开始请求令牌。')
|
|||
auth = get_token(authUrl)
|
||||
#循环判断auth是否为空,若为空,等待30s后重新请求
|
||||
i = 0
|
||||
while not auth and i < 60:
|
||||
while not auth['access_token'] and i < 60:
|
||||
time.sleep(60)
|
||||
auth = get_token(authUrl)
|
||||
i = i + 1
|
||||
|
|
|
@ -44,7 +44,7 @@ print('开始请求令牌。')
|
|||
auth = get_token(authUrl)
|
||||
#循环判断auth是否为空,若为空,等待30s后重新请求
|
||||
i = 0
|
||||
while not auth and i < 60:
|
||||
while not auth['access_token'] and i < 60:
|
||||
time.sleep(60)
|
||||
auth = get_token(authUrl)
|
||||
i = i + 1
|
||||
|
|
|
@ -44,7 +44,7 @@ print('开始请求令牌。')
|
|||
auth = get_token(authUrl)
|
||||
#循环判断auth是否为空,若为空,等待30s后重新请求
|
||||
i = 0
|
||||
while not auth and i < 60:
|
||||
while not auth['access_token'] and i < 60:
|
||||
time.sleep(60)
|
||||
auth = get_token(authUrl)
|
||||
i = i + 1
|
||||
|
|
|
@ -44,7 +44,7 @@ print('开始请求令牌。')
|
|||
auth = get_token(authUrl)
|
||||
#循环判断auth是否为空,若为空,等待30s后重新请求
|
||||
i = 0
|
||||
while not auth and i < 60:
|
||||
while not auth['access_token'] and i < 60:
|
||||
time.sleep(60)
|
||||
auth = get_token(authUrl)
|
||||
i = i + 1
|
||||
|
|
|
@ -44,7 +44,7 @@ print('开始请求令牌。')
|
|||
auth = get_token(authUrl)
|
||||
#循环判断auth是否为空,若为空,等待30s后重新请求
|
||||
i = 0
|
||||
while not auth and i < 60:
|
||||
while not auth['access_token'] and i < 60:
|
||||
time.sleep(60)
|
||||
auth = get_token(authUrl)
|
||||
i = i + 1
|
||||
|
|
|
@ -44,7 +44,7 @@ print('开始请求令牌。')
|
|||
auth = get_token(authUrl)
|
||||
#循环判断auth是否为空,若为空,等待30s后重新请求
|
||||
i = 0
|
||||
while not auth and i < 60:
|
||||
while not auth['access_token'] and i < 60:
|
||||
time.sleep(60)
|
||||
auth = get_token(authUrl)
|
||||
i = i + 1
|
||||
|
|
|
@ -44,7 +44,7 @@ print('开始请求令牌。')
|
|||
auth = get_token(authUrl)
|
||||
#循环判断auth是否为空,若为空,等待30s后重新请求
|
||||
i = 0
|
||||
while not auth and i < 60:
|
||||
while not auth['access_token'] and i < 60:
|
||||
time.sleep(60)
|
||||
auth = get_token(authUrl)
|
||||
i = i + 1
|
||||
|
|
|
@ -44,7 +44,7 @@ print('开始请求令牌。')
|
|||
auth = get_token(authUrl)
|
||||
#循环判断auth是否为空,若为空,等待30s后重新请求
|
||||
i = 0
|
||||
while not auth and i < 60:
|
||||
while not auth['access_token'] and i < 60:
|
||||
time.sleep(60)
|
||||
auth = get_token(authUrl)
|
||||
i = i + 1
|
||||
|
|
|
@ -44,7 +44,7 @@ print('开始请求令牌。')
|
|||
auth = get_token(authUrl)
|
||||
#循环判断auth是否为空,若为空,等待30s后重新请求
|
||||
i = 0
|
||||
while not auth and i < 60:
|
||||
while not auth['access_token'] and i < 60:
|
||||
time.sleep(60)
|
||||
auth = get_token(authUrl)
|
||||
i = i + 1
|
||||
|
|
|
@ -44,7 +44,7 @@ print('开始请求令牌。')
|
|||
auth = get_token(authUrl)
|
||||
#循环判断auth是否为空,若为空,等待30s后重新请求
|
||||
i = 0
|
||||
while not auth and i < 60:
|
||||
while not auth['access_token'] and i < 60:
|
||||
time.sleep(60)
|
||||
auth = get_token(authUrl)
|
||||
i = i + 1
|
||||
|
|
|
@ -44,7 +44,7 @@ print('开始请求令牌。')
|
|||
auth = get_token(authUrl)
|
||||
#循环判断auth是否为空,若为空,等待30s后重新请求
|
||||
i = 0
|
||||
while not auth and i < 60:
|
||||
while not auth['access_token'] and i < 60:
|
||||
time.sleep(60)
|
||||
auth = get_token(authUrl)
|
||||
i = i + 1
|
||||
|
|
|
@ -44,7 +44,7 @@ print('开始请求令牌。')
|
|||
auth = get_token(authUrl)
|
||||
#循环判断auth是否为空,若为空,等待30s后重新请求
|
||||
i = 0
|
||||
while not auth and i < 60:
|
||||
while not auth['access_token'] and i < 60:
|
||||
time.sleep(60)
|
||||
auth = get_token(authUrl)
|
||||
i = i + 1
|
||||
|
|
Loading…
Reference in New Issue