Initial commit: Monorepo structure + PRD v1.0

This commit is contained in:
OpenClaw Agent
2026-03-06 03:24:54 +08:00
parent 4bea769ad3
commit 40fd44c7f7
5 changed files with 327 additions and 2 deletions

38
api/README.md Normal file
View File

@@ -0,0 +1,38 @@
# 后端 API
黄精粉小程序后端服务
## 技术栈
- Spring Boot 3.2
- JDK 17
- MyBatis-Plus
- MySQL 8.0
- Redis
- XXL-Job
## 目录结构
```
api/
├── src/
│ ├── main/
│ │ ├── java/
│ │ │ └── com/huangjingfen/
│ │ │ ├── config/ # 配置类
│ │ │ ├── controller/ # 控制器
│ │ │ ├── service/ # 服务层
│ │ │ ├── mapper/ # 数据访问层
│ │ │ ├── entity/ # 实体类
│ │ │ └── job/ # 定时任务
│ │ └── resources/
│ │ ├── mapper/ # XML映射文件
│ │ └── application.yml
│ └── test/
└── pom.xml
```
## 开发规范
- 包名:`com.huangjingfen`
- 数据库表名:`hjf_` 前缀(如 `hjf_user`
- API 前缀:`/api/v1/`