更新 knowledge.md
This commit is contained in:
@@ -1409,7 +1409,8 @@ class CreateUserBto { //对应实体user
|
||||
Java、SpringBoot、MyBatis-plus(读取)、Hibernate(写入)
|
||||
|
||||
**3.2 项目结构**
|
||||
多模块SpringBoot项目,子模块在`/modules`目录下。子模块路径必须从`modules`开始,如:`modules/module1/src/main/java...`
|
||||
- 多模块SpringBoot项目,子模块在`/modules`目录下。子模块路径必须从`modules`开始,如:`modules/module1/src/main/java...`
|
||||
- 根目录的entrance默认已经依赖了所有子模块的entrance模块,无需额外引入pom配置。
|
||||
|
||||
```
|
||||
项目根目录
|
||||
@@ -1423,7 +1424,7 @@ Java、SpringBoot、MyBatis-plus(读取)、Hibernate(写入)
|
||||
│ │ ├──response/ # 返回结果封装
|
||||
│ │ └──utils/ # 项目工具类,存放全项目复用的、或多模块复用的工具类,如OSSUtils、UserTokenUtils等
|
||||
└───├── entrance/ # 项目入口
|
||||
│ ├── pom.xml # 项目级pom配置
|
||||
│ ├──pom.xml # 项目级pom配置
|
||||
│ └──AppApplication.java # 启动类
|
||||
└── modules # 子模块列表
|
||||
└── module1/ # 子模块1
|
||||
|
||||
Reference in New Issue
Block a user