两个根因: 1. src/api/routes/standings 端点使用 func.max() 但未导入 func → NameError(500) → 在 matches.py 的 sqlalchemy 导入中加入 func 2. 前端 api.ts 错误处理中先调 res.json() 失败后回退 res text(), 但 Response body 流只能读一次 → "body stream already read" → 改为先 res.text() 再 JSON.parse(),避免重复读取 Co-Authored-By: new-provider/LongCat-2.0 <<EMAIL>>