add workflow 荟聚API,dev

This commit is contained in:
root 2024-04-09 12:45:33 +08:00
parent 3a310f7313
commit c9b0b158bc
8 changed files with 8 additions and 8 deletions

View File

@ -44,7 +44,7 @@ print('开始请求令牌。')
auth = get_token(authUrl)
#循环判断auth是否为空若为空等待30s后重新请求
i = 0
while not auth['access_token'] and i < 60:
while 'error' in auth and i < 60:
time.sleep(60)
auth = get_token(authUrl)
i = i + 1

View File

@ -44,7 +44,7 @@ print('开始请求令牌。')
auth = get_token(authUrl)
#循环判断auth是否为空若为空等待30s后重新请求
i = 0
while not auth['access_token'] and i < 60:
while 'error' in auth and i < 60:
time.sleep(60)
auth = get_token(authUrl)
i = i + 1

View File

@ -44,7 +44,7 @@ print('开始请求令牌。')
auth = get_token(authUrl)
#循环判断auth是否为空若为空等待30s后重新请求
i = 0
while not auth['access_token'] and i < 60:
while 'error' in auth and i < 60:
time.sleep(60)
auth = get_token(authUrl)
i = i + 1

View File

@ -44,7 +44,7 @@ print('开始请求令牌。')
auth = get_token(authUrl)
#循环判断auth是否为空若为空等待30s后重新请求
i = 0
while not auth['access_token'] and i < 60:
while 'error' in auth and i < 60:
time.sleep(60)
auth = get_token(authUrl)
i = i + 1

View File

@ -44,7 +44,7 @@ print('开始请求令牌。')
auth = get_token(authUrl)
#循环判断auth是否为空若为空等待30s后重新请求
i = 0
while not auth['access_token'] and i < 60:
while 'error' in auth and i < 60:
time.sleep(60)
auth = get_token(authUrl)
i = i + 1

View File

@ -44,7 +44,7 @@ print('开始请求令牌。')
auth = get_token(authUrl)
#循环判断auth是否为空若为空等待30s后重新请求
i = 0
while not auth['access_token'] and i < 60:
while 'error' in auth and i < 60:
time.sleep(60)
auth = get_token(authUrl)
i = i + 1

View File

@ -44,7 +44,7 @@ print('开始请求令牌。')
auth = get_token(authUrl)
#循环判断auth是否为空若为空等待30s后重新请求
i = 0
while not auth['access_token'] and i < 60:
while 'error' in auth and i < 60:
time.sleep(60)
auth = get_token(authUrl)
i = i + 1

View File

@ -44,7 +44,7 @@ print('开始请求令牌。')
auth = get_token(authUrl)
#循环判断auth是否为空若为空等待30s后重新请求
i = 0
while not auth['access_token'] and i < 60:
while 'error' in auth and i < 60:
time.sleep(60)
auth = get_token(authUrl)
i = i + 1