add workflow 荟聚API,dev

This commit is contained in:
root 2024-04-09 11:13:55 +08:00
parent 890fd53235
commit a5c4730a86
15 changed files with 16 additions and 16 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -34,7 +34,7 @@ def get_token(url):
return
auth=json.loads(authRequest.text)
return auth
print('开始加载数据custom_events_open_content_page:获取线索事件_open_content_page')
authUrl='https://api.huiju.cool/v2/oauth2/token?app_id=cl037b184ebccd97c&secret=deaa83fdd8d385eec0d1d04d34282c4ec8c33b60&grant_type=client_credentials'
@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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