Commit Graph

2 Commits

Author SHA1 Message Date
chiguyong f1a8b69c2a fix: unify frontend API client - add blob support to fetchWithAuth, eliminate raw fetch calls
- Extend fetchWithAuth with responseType parameter ('json' | 'blob')
- reports.ts: PDF/CSV export now uses fetchWithAuth blob mode
- reports/page.tsx: remove duplicate API_BASE, use fetchWithAuth for CSV export
- lifecycle/new/page.tsx: replace raw fetch with fetchWithAuth for quick-start POST
2026-06-01 20:54:12 +08:00
chiguyong eac12093d6 feat: 修复前后端API路径不匹配,对接真实数据与百炼LLM
- 修复知识库API路径(knowledge-bases -> knowledge/bases)
- 修复analytics top-content -> top路径
- 修复lifecycle stats路径
- 配置百炼Coding Plan API(qwen3-coder-plus)
- 后端所有API对接真实数据库
- 前端所有页面对接真实后端API
- 创建管理员测试账号(admin@fischer.com)
- 修复CORS配置支持localhost:3001
- 修复UUID/String类型转换问题
2026-05-23 14:45:51 +08:00