diff --git a/docs/zh/becoming-a-sponsor.md b/docs/zh/becoming-a-sponsor.md index 4bc19aa1..a143e3f7 100644 --- a/docs/zh/becoming-a-sponsor.md +++ b/docs/zh/becoming-a-sponsor.md @@ -9,10 +9,10 @@ MyBatis-Flex 展示的机会。 在本站对应的位置放置您的 LOGO 及跳转链接。 -| 位置 | 素材 | 宽高 | 赞助费 | 名额 | -| ---------------- | ---------------- | ------------- | ---------- |------------ | -| 全站右侧边栏 1 | 图片+链接 | 105*50px | ¥200/月 | 8 | -| 全站右侧边栏 2 | 图片+链接 | 122*50px | ¥400/月 |1 | +| 位置 | 素材 | 宽高 | 赞助费 | 名额 | +| ---------------- | ---------------- |----------| ---------- |----| +| 全站右侧边栏 1 | 图片+链接 | 105*50px | ¥200/月 | 8 | +| 全站右侧边栏 2 | 图片+链接 | 222*50px | ¥400/月 | 1 | 您可以联系微信 `fuh99888` 就展示位的详细事宜。 diff --git a/docs/zh/intro/getting-started.md b/docs/zh/intro/getting-started.md index 50ce0a36..d6b10942 100644 --- a/docs/zh/intro/getting-started.md +++ b/docs/zh/intro/getting-started.md @@ -57,7 +57,6 @@ VALUES (1, '张三', 18, '2020-01-11'), 需要添加的 Maven 主要依赖示例: ```xml - com.mybatis-flex @@ -82,6 +81,35 @@ VALUES (1, '张三', 18, '2020-01-11'), ``` +**注意**: 如果您当前使用的是 SpringBoot v3.x 版本,需要把依赖 `mybatis-flex-spring-boot-starter` 修改为:`mybatis-flex-spring-boot3-starter`, +如下代码所示: + +```xml 4 + + + com.mybatis-flex + mybatis-flex-spring-boot3-starter + 1.7.7 + + + com.mysql + mysql-connector-j + runtime + + + com.zaxxer + HikariCP + + + + org.springframework.boot + spring-boot-starter-test + test + + +``` + + **第 3 步:对 Spring Boot 项目进行配置** 在 application.yml 中配置数据源: diff --git a/docs/zh/intro/maven.md b/docs/zh/intro/maven.md index 297a0a3a..78614843 100644 --- a/docs/zh/intro/maven.md +++ b/docs/zh/intro/maven.md @@ -38,9 +38,9 @@ `````` -3、用到了 Spring Boot 的场景 +3、用到了 SpringBoot v2.x 的场景 -```xml +```xml 3 com.mybatis-flex mybatis-flex-spring-boot-starter @@ -54,7 +54,23 @@ ``` -4、配置 annotationProcessor +4、用到了 SpringBoot v3.x 的场景 + +```xml 3 + + com.mybatis-flex + mybatis-flex-spring-boot3-starter + 1.7.7 + + + com.mybatis-flex + mybatis-flex-processor + 1.7.7 + provided + +``` + +5、配置 annotationProcessor `mybatis-flex-processor`提供APT服务,可以配置到annotationProcessorPaths,配置后,无需在依赖中声明`mybatis-flex-processor`依赖。 @@ -79,7 +95,7 @@ ``` -5、配置依赖管理 +6、配置依赖管理 MyBatis-Flex 提供了 `mybatis-flex-dependencies` 模块进行依赖管理,只需要在 `` 标签下进行配置就可以了。