From f945ec49bb000da39f750f20fdc76c7af95dc335 Mon Sep 17 00:00:00 2001 From: oyo Date: Mon, 1 Sep 2025 20:09:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20knowledge.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- knowledge.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/knowledge.md b/knowledge.md index 831d8b4..4c26f6b 100644 --- a/knowledge.md +++ b/knowledge.md @@ -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