update sa-token-doc/start/example.md.

很重要, 群里总有人提问.
This commit is contained in:
AppleOfGray 2023-02-16 04:55:42 +00:00 committed by Gitee
parent 3f761f7677
commit 954e9e3530
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -13,6 +13,8 @@
### 2、添加依赖
在项目中添加依赖:
> 注:如果你使用的 `SpringBoot 3.x`,只需要将 `sa-token-spring-boot-starter` 修改为 `sa-token-spring-boot3-starter` 即可。
<!---------------------------- tabs:start ---------------------------->
<!-------- tab:Maven 方式 -------->
``` xml
@ -30,7 +32,6 @@ implementation 'cn.dev33:sa-token-spring-boot-starter:${sa.top.version}'
```
<!---------------------------- tabs:end ---------------------------->
注:如果你使用的 `SpringBoot 3.x`,只需要将 `sa-token-spring-boot-starter` 修改为 `sa-token-spring-boot3-starter` 即可。
Maven依赖一直无法加载成功[参考解决方案](https://sa-token.cc/doc.html#/start/maven-pull)