docs(wiki): BUG-M4/L1 已修复 + wiki 数字更新
Some checks failed
CI / Lint & TypeCheck (push) Has been cancelled
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
Some checks failed
CI / Lint & TypeCheck (push) Has been cancelled
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
- BUG-M4 标记为已修复 (admin_guard_middleware) - BUG-L1 标记为已验证修复 (代码已统一为 pain_seed_categories) - E2E 04-17 MEDIUM/LOW 全部关闭 - butler.md/log.md: pain_seeds → pain_seed_categories
This commit is contained in:
10
wiki/log.md
10
wiki/log.md
@@ -9,6 +9,14 @@ tags: [log, history]
|
||||
|
||||
> Append-only 操作记录。格式: `## [日期] 类型 | 描述`
|
||||
|
||||
## 2026-04-17 fix | M4 Admin 权限守卫 + L1 文档同步
|
||||
|
||||
- **BUG-M4**: 新增 `admin_guard_middleware` (auth/mod.rs),在中间件层拦截非 admin 请求
|
||||
- `billing::admin_routes()` 和 `account::admin_routes()` 挂载时加 guard layer
|
||||
- 非_admin 用户访问 admin 端点统一返回 403 (无论 body 是否合法)
|
||||
- `account/mod.rs` 拆分 `admin_routes()` (dashboard 端点独立)
|
||||
- **BUG-L1**: 字段名已在代码中统一为 `pain_seed_categories`,同步 wiki/butler.md/log.md 文档
|
||||
|
||||
## 2026-04-17 test | 回归验证 — 13/13 PASS,全部 04-17 bug 修复确认
|
||||
|
||||
- Phase 1: 6 项 bug 修复回归 (H1/H2/M1/M2/M3/M5) 全部 PASS
|
||||
@@ -190,7 +198,7 @@ tags: [log, history]
|
||||
|
||||
Phase 1 — 行业配置基础 (13 files, 886 insertions):
|
||||
- SaaS industries + account_industries 表 (migration v15)
|
||||
- 4 内置行业: 医疗/教育/制衣/电商 (keywords/prompt/pain_seeds)
|
||||
- 4 内置行业: 医疗/教育/制衣/电商 (keywords/prompt/pain_seed_categories)
|
||||
- ButlerRouter 动态行业关键词注入 (Arc<RwLock<Vec<IndustryKeywordConfig>>>)
|
||||
- 8 SaaS API handlers (list/create/update/fullConfig/accountIndustries)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user