add workflow 市场易API联系人,dev

This commit is contained in:
root 2025-10-11 15:26:40 +08:00
parent e3863e31ab
commit 3610eac55c
3 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@ def get_token():
def get_contact_ids(token):
url = "https://open.cloud.custouch.com/platform/cdp/contact/batch"
params = {
'start': formatted2_previous_hour(720),
'start': formatted2_previous_hour(1440),
'end': formatted2_previous_hour(0),
'by':'CreatedAt'
}

View File

@ -48,7 +48,7 @@ def get_token():
def get_contact_ids(token):
url = "https://open.cloud.custouch.com/platform/cdp/contact/batch"
params = {
'start': formatted2_previous_hour(720),
'start': formatted2_previous_hour(1440),
'end': formatted2_previous_hour(0),
'by':'UpdatedAt',
}

View File

@ -68,7 +68,7 @@ def fetch_data(token, index=1, pageSize=2000):
{"id": 214001},
],
"desc": True,
"from": formatted2_previous_hour(720, "%Y-%m-%dT%H:%M:%SZ"),
"from": formatted2_previous_hour(1440, "%Y-%m-%dT%H:%M:%SZ"),
"index": index,
"size": pageSize
}