add workflow 招聘信息导入,dev

This commit is contained in:
root 2026-02-27 09:46:02 +08:00
parent 299e61b352
commit 5b458c3ab8
1 changed files with 3 additions and 3 deletions

View File

@ -260,7 +260,7 @@ def main():
# API配置
api_config = {
'url': 'http://tk-agent.idgvalue.com/v1/workflows/run',
'url': 'https://tk-agent.idgvalue.com/v1/workflows/run',
'auth_token': 'Bearer app-siNKLRExkzO9IM81P8hHuBx2'
}
@ -282,9 +282,9 @@ def main():
FROM public.document_segments ds
WHERE ds.dataset_id = '33d1b946-acd2-4538-b6cc-e0cd77824aba'
AND ds.enabled
AND ds.created_at >= NOW() - INTERVAL '48 hours'
AND ds.created_at >= NOW() - INTERVAL '24 hours'
GROUP BY ds.document_id
ORDER BY doc_time DESC limit 10 """
ORDER BY doc_time DESC """
try:
# 从数据库获取URL列表