fix: download URL uses file_path directly (/idfile/{id}.{ext})

This commit is contained in:
Hermes 2026-07-30 14:49:19 +08:00
parent 908480f35e
commit c1a8f1643a

View File

@ -63,7 +63,7 @@ else:
if f["status"] == "pending": sc = "#e6a23c"; st = "处理中"
elif f["status"] == "error": sc = "#f56c6c"; st = "失败"
file_url = f["file_path"] if f["file_path"].startswith("/idfile/") else "/idfile" + f["file_path"]
file_url = f["file_path"]
display_name = trunc_name(f["file_name"])
row = {