add workflow partner1site,dev
This commit is contained in:
parent
ea1f3e71c5
commit
27def19f3f
|
@ -141,8 +141,8 @@ def main():
|
|||
# ✅ 客户拜访数据(执行)
|
||||
visits_data = client.fetch_all_pages(
|
||||
api_name="visits",
|
||||
params={} # 拉全量,若有默认时间限制可改成 {"startInsertDate":"2000-01-01","endInsertDate":get_previous_date(0)}
|
||||
# params={"startInsertDate":"2025-08-20","endInsertDate":get_previous_date(0)}
|
||||
# params={} # 拉全量,若有默认时间限制可改成 {"startInsertDate":"2000-01-01","endInsertDate":get_previous_date(0)}
|
||||
params={"startInsertDate":get_previous_date(3)}
|
||||
)
|
||||
save_json_to_pg(visits_data, API_ID)
|
||||
|
||||
|
|
|
@ -141,7 +141,7 @@ def main():
|
|||
# ✅ 报备数据(执行)
|
||||
reports_data = client.fetch_all_pages(
|
||||
api_name="reports",
|
||||
params={}
|
||||
params={"startInsertDate":get_previous_date(3)}
|
||||
)
|
||||
save_json_to_pg(reports_data, API_ID)
|
||||
|
||||
|
|
Loading…
Reference in New Issue