diff --git a/wiki/log.md b/wiki/log.md index b4ef172..794f758 100644 --- a/wiki/log.md +++ b/wiki/log.md @@ -9,6 +9,16 @@ tags: [log, history] > 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 全部解决 - C1: SQL 注入风险 → industry/service.rs 参数化查询 ($N 绑定)