add workflow 招聘信息导入,dev
This commit is contained in:
parent
299e61b352
commit
5b458c3ab8
|
|
@ -260,7 +260,7 @@ def main():
|
||||||
|
|
||||||
# API配置
|
# API配置
|
||||||
api_config = {
|
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'
|
'auth_token': 'Bearer app-siNKLRExkzO9IM81P8hHuBx2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -282,9 +282,9 @@ def main():
|
||||||
FROM public.document_segments ds
|
FROM public.document_segments ds
|
||||||
WHERE ds.dataset_id = '33d1b946-acd2-4538-b6cc-e0cd77824aba'
|
WHERE ds.dataset_id = '33d1b946-acd2-4538-b6cc-e0cd77824aba'
|
||||||
AND ds.enabled
|
AND ds.enabled
|
||||||
AND ds.created_at >= NOW() - INTERVAL '48 hours'
|
AND ds.created_at >= NOW() - INTERVAL '24 hours'
|
||||||
GROUP BY ds.document_id
|
GROUP BY ds.document_id
|
||||||
ORDER BY doc_time DESC limit 10 """
|
ORDER BY doc_time DESC """
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# 从数据库获取URL列表
|
# 从数据库获取URL列表
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue