docs: wiki变更日志 — Phase B+C 文档提取器+multipart上传
Some checks failed
CI / Unit Tests (push) Has been cancelled
CI / Build Frontend (push) Has been cancelled
CI / Rust Check (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled
CI / Lint & TypeCheck (push) Has been cancelled

This commit is contained in:
iven
2026-04-12 19:26:18 +08:00
parent 60062a8097
commit 0f9211a7b2

View File

@@ -9,6 +9,16 @@ tags: [log, history]
> Append-only 操作记录。格式: `## [日期] 类型 | 描述` > Append-only 操作记录。格式: `## [日期] 类型 | 描述`
## [2026-04-12] feat | 知识库 Phase B+C — 文档提取器 + multipart 文件上传
- extractors.rs: PDF(pdf-extract) + DOCX(zip+quick-xml) + Excel(calamine) 三格式提取
- 格式路由 detect_format() → RAG 通道或结构化通道
- POST /api/v1/knowledge/upload multipart 文件上传
- PDF/DOCX/Markdown → RAG 管线Excel → structured_rows JSONB 存储
- 结构化数据源 API: GET/DELETE /api/v1/structured/sources + /rows + /query
- 修复 industry/service.rs SaasError::Database 类型不匹配
- 累计新增 849 行7 文件变更
## [2026-04-12] fix | 审计修复 — 4 CRITICAL + 5 HIGH 全部解决 ## [2026-04-12] fix | 审计修复 — 4 CRITICAL + 5 HIGH 全部解决
- C1: SQL 注入风险 → industry/service.rs 参数化查询 ($N 绑定) - C1: SQL 注入风险 → industry/service.rs 参数化查询 ($N 绑定)