Commit Graph
2 Commits
Author SHA1 Message Date
ypshidifu 2d48f178d4 feat: 并发安全隔离 + 10分钟定时清理上传/输出目录 2026-09-17 17:40:40 +08:00
ypshidifu 8dd6aebd8b Web 前端: HTML上传+转码界面 + FastAPI后端
- app.py: FastAPI 后端,POST /convert 接收文件上传并调用 vipsong.convert_file 转码
  GET /download/<filename> 提供下载,GET /health 健康检查
  文件名安全过滤保留扩展名,支持多格式输出(mp3/flac/wav/ogg/m4a)
- templates/index.html: 纯HTML/CSS/JS单页应用,拖拽上传、格式选择、状态显示、下载链接
- .gitignore: 添加 static/uploads/、static/outputs/、音频输出文件过滤
- requirements.txt: 添加 fastapi、uvicorn、python-multipart

验证 MCP 可用性:
- Baota MCP SystemInfo/SiteList/ServiceStatus 全部正常返回
- nginx+mysql+php-fpm-74/82/85 运行中,5个网站正常
- Web API 端对端测试: NCM→MP3/FLAC/OGG 均输出有效音频,错误处理返回 HTTP 400
2026-09-17 17:10:55 +08:00