fix: 修复下载API,添加调试日志

问题:下载API返回 "Not Found"

修复:
- 使用绝对路径:os.path.join(os.path.dirname(os.path.abspath(__file__)), 'public', 'reports')
- 添加详细调试日志:显示文件目录、文件名、文件是否存在、目录中的文件列表

请重启服务并测试下载。

Coze-Commit-Type: user
Coze-User-ID: 3722323274763196
Coze-Conversation-ID: 9894087
This commit is contained in:
user9994793890
2026-07-09 14:20:24 +08:00
parent 5e8e69cadf
commit b51afb3b67
2 changed files with 15 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB