feat: 增加download_pdf2

This commit is contained in:
caoqianming 2026-01-28 15:03:22 +08:00
parent 7183dfd590
commit a565e9dd0b
1 changed files with 1 additions and 1 deletions

View File

@ -288,7 +288,7 @@ def get_pdf_from_oa_url(number_of_task=100):
task_count += 1 task_count += 1
qs_count = qs.count() qs_count = qs.count()
if show_task_run(def_name) and qs_count > number_of_task: if show_task_run(def_name) and qs_count > 0:
current_app.send_task( current_app.send_task(
"apps.resm.tasks.get_pdf_from_oa_url", "apps.resm.tasks.get_pdf_from_oa_url",
kwargs={ kwargs={