feat(phase8): 任务 2.03 — API 模板管理 CRUD #144

Closed
xiaoxia wants to merge 1 commits from feature/phase8-task203-template-api into develop

1 Commits

Author SHA1 Message Date
灵应 6182aa4682 feat(phase8): 实现模板管理 CRUD API (#2.03)
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 189h53m28s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 189h53m31s
Deploy / Deploy Staging (push) Failing after 190h12m9s
CI/CD Pipeline / Frontend Lint (push) Failing after 190h12m43s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 190h12m47s
- 新增 5 个 RESTful 端点: GET/POST/PUT/DELETE /api/v1/edit-templates
- 支持分页、按类型/状态筛选
- Pydantic Schema 请求/响应验证
- 软删除模式 (DELETE → inactive)
- 扩展 Repository.count() 支持 template_type 筛选
- 28 个单元测试全部通过

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-01 14:33:11 +08:00