- Add comprehensive docs/ directory with standardized structure - Include architecture specification and contract documents - Add prompt templates for development workflows - Establish M1 deliverables as frozen specifications Co-authored-by: Qwen-Coder <[email protected]>
611 B
611 B
title, owner, status, last_reviewed, review_cycle
| title | owner | status | last_reviewed | review_cycle |
|---|---|---|---|---|
| 架构总览 | team-java21-template | published | 2026-02-11 | 180d |
架构总览
1. 架构风格
Clean Architecture(四层)
api → application → domain
↑
infrastructure
2. 模块说明
| 模块 | 职责 |
|---|---|
| domain | 领域模型 |
| application | 用例 |
| infrastructure | 技术实现 |
| api | REST 接口 |
3. 关键约束
- 事务只允许在 application 层
- Controller 不允许直接依赖 repository
- 所有查询必须带 customerId
详见:
- 全局规范:ljwx-docs/03-standards/