更新 knowledge.md

This commit is contained in:
oyo
2025-08-27 15:57:52 +08:00
parent e448e3a9e1
commit b54b3149a2

View File

@@ -1414,6 +1414,7 @@ Java、SpringBoot、MyBatis-plus(读取)、Hibernate(写入)
``` ```
项目根目录 项目根目录
|──main_module |──main_module
│ ├── pom.xml # 项目级pom配置
│ ├── common # 项目级公共模块 │ ├── common # 项目级公共模块
│ │ ├──config/ # 中间件配置 │ │ ├──config/ # 中间件配置
│ │ ├──constants/ # 项目常量 │ │ ├──constants/ # 项目常量
@@ -1422,14 +1423,18 @@ Java、SpringBoot、MyBatis-plus(读取)、Hibernate(写入)
│ │ ├──response/ # 返回结果封装 │ │ ├──response/ # 返回结果封装
│ │ └──utils/ # 项目工具类 │ │ └──utils/ # 项目工具类
└───├── entrance/ # 项目入口 └───├── entrance/ # 项目入口
│ ├── pom.xml # 项目级pom配置
│ └──AppApplication.java # 启动类 │ └──AppApplication.java # 启动类
└── modules # 子模块列表 └── modules # 子模块列表
└── module1/ # 子模块1 └── module1/ # 子模块1
├── pom.xml # 子模块1的pom配置
├── common/ ├── common/
│ ├──pom.xml # common的pom配置
│ ├──constants/ # 模块常量 │ ├──constants/ # 模块常量
│ ├──utils/ #模块工具类 │ ├──utils/ #模块工具类
│ └──enums/ # 枚举 │ └──enums/ # 枚举
├── entrance/web/src/main/java/com/{project_name}/{module_name}/entrance/web/ ├── entrance/web/src/main/java/com/{project_name}/{module_name}/entrance/web/
│ ├──pom.xml # entrance的pom配置
│ ├──controller/ # API定义 │ ├──controller/ # API定义
│ ├──converter/ # DTO转VO │ ├──converter/ # DTO转VO
│ ├──vo/ # VO结构 │ ├──vo/ # VO结构