refactor: 项目结构优化与代码生成模板修复

This commit is contained in:
Ray.Hao
2026-04-02 09:24:24 +08:00
parent 9cd3ff88f8
commit c7c6799af4
52 changed files with 153 additions and 147 deletions

View File

@@ -103,21 +103,23 @@ spring:
youlai-boot
├── docker/ # Docker 部署
├── sql/ # 数据库脚本
├── src/main/java/com/youlai/boot/
├── src/
│ ├── auth/ # 认证授权业务
│ ├── codegen/ # 代码生成器
│ ├── common/ # 全局通用(常量、枚举、工具类、统一响应结果)
│ ├── framework/ # 底层技术基座(高内聚积木块
│ ├── framework/ # 底层技术基座(缓存/验证码/安全/Web等
│ │ ├── apidoc/ # OpenAPI/Swagger 文档
│ │ ├── cache/ # Redis/Caffeine 缓存
│ │ ├── captcha/ # 验证码
│ │ ├── integration/ # SMS/Mail/WxMa 集成
│ │ ├── job/ # XxlJob 定时任务
│ │ ├── mybatis/ # 数据库/MP配置/拦截器
│ │ ├── openapi/ # OpenAPI/Swagger 文档
│ │ ├── security/ # 鉴权过滤器/Token机制
│ │ └── web/ # 跨域/全局异常/限流/Jackson
│ ├── module/ # 业务模块File、Codegen 等)
│ ├── message/ # 消息中心
│ ├── file/ # 文件中心
│ ├── system/ # 核心系统模块(用户/角色/菜单/部门)
│ └── YouLaiBootApplication.java # 启动类
│ └── YouLaiBootApplication.java # 启动类
└── pom.xml # Maven 配置
```