Commit Graph
1 Commits
Author SHA1 Message Date
H1d3rOne 683f55e4ca feat: 添加数据库支持,保存测算记录
- 添加Spring Data JPA和H2/MySQL数据库依赖
- 创建DeductRecord实体类,保存测算记录
- 创建DeductRecordRepository和DeductRecordService
- 创建RecordController,提供记录查询和删除API
- 修改BaZiController,保存测算结果到数据库
- 配置H2数据库用于开发,MySQL用于生产环境
2026-03-07 22:54:02 +08:00