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