2020-05-02 15:19:55 +08:00
|
|
|
|
# 集成
|
2020-02-06 00:52:49 +08:00
|
|
|
|
|
|
|
|
|
------
|
|
|
|
|
|
2020-05-02 15:19:55 +08:00
|
|
|
|
## maven依赖
|
|
|
|
|
在项目中直接通过 `pom.xml` 导入 `sa-token` 的依赖即可
|
|
|
|
|
``` xml
|
|
|
|
|
<!-- sa-token 权限认证, 在线文档:http://sa-token.dev33.cn/ -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>cn.dev33</groupId>
|
2020-12-24 22:51:57 +08:00
|
|
|
|
<artifactId>sa-token-spring-boot-starter</artifactId>
|
|
|
|
|
<version>1.7.0</version>
|
2020-05-02 15:19:55 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-09-07 02:21:35 +08:00
|
|
|
|
## 获取源码
|
2020-05-02 15:19:55 +08:00
|
|
|
|
如果你想深入了解`sa-token`,你可以通过`github`或者`gitee`来获取源码
|
2020-02-06 00:52:49 +08:00
|
|
|
|
- github地址:[https://github.com/click33/sa-token](https://github.com/click33/sa-token)
|
|
|
|
|
- gitee地址:[https://gitee.com/sz6/sa-token](https://gitee.com/sz6/sa-token)
|
2020-09-07 02:21:35 +08:00
|
|
|
|
- 开源不易,求鼓励,给个`star`吧
|
2020-02-06 00:52:49 +08:00
|
|
|
|
- 源码目录介绍
|
|
|
|
|
- sa-token-dev: 源码
|
|
|
|
|
- sa-token-demo-springboot: springboot集成示例
|
|
|
|
|
- sa-token-doc: 文档介绍
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-02-08 00:54:38 +08:00
|
|
|
|
## jar包下载
|
2020-12-18 00:39:14 +08:00
|
|
|
|
[点击下载:sa-token-1.6.0.jar](https://oss.dev33.cn/sa-token/sa-token-1.6.0.jar)
|
2020-02-06 00:52:49 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|