更新jar包引用方式

This commit is contained in:
孔
2020-02-08 00:54:38 +08:00
parent 618d085b9a
commit 76031a77a0
15 changed files with 359 additions and 98 deletions
+13 -3
View File
@@ -2,7 +2,6 @@
------
## 源码
你可以通过`github`或者`gitee`来获取源码
- github地址:[https://github.com/click33/sa-token](https://github.com/click33/sa-token)
@@ -14,9 +13,20 @@
- sa-token-doc: 文档介绍
## jar包下载
[点击下载](https://color-test.oss-cn-qingdao.aliyuncs.com/sa-token/sa-token-spring-1.0.0.jar)
[点击下载:sa-token-1.0.0.jar](https://color-test.oss-cn-qingdao.aliyuncs.com/sa-token/sa-token-1.0.0.jar)
## maven依赖
``` xml
<!-- sa-token 权限认证, 在线文档:http://sa-token.dev33.cn/ -->
<dependency>
<groupId>cn.dev33</groupId>
<artifactId>sa-token</artifactId>
<version>1.0.0</version>
</dependency>
```
+7 -10
View File
@@ -11,18 +11,15 @@
在IDE中新建一个Springboot项目,例如:`sa-token-demo-springboot`(不会的同学请自行百度或者参考github示例)
#### 2、设置jar包依赖
- 在项目根目录新建文件夹`lib`,将 `sa-token-spring-xxx.jar` 复制到其中
- 并在 `pom.xml` 中添加依赖:
- 在 `pom.xml` 中添加依赖:
``` xml
<!-- sa-token 安全认证 -->
<dependency>
<groupId>cn.dev33.sa-token</groupId>
<artifactId>sa-token-spring</artifactId>
<version>1.0.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/sa-token-spring-1.0.0.jar</systemPath>
</dependency>
<!-- sa-token 权限认证, 在线文档:http://sa-token.dev33.cn/ -->
<dependency>
<groupId>cn.dev33</groupId>
<artifactId>sa-token</artifactId>
<version>1.0.0</version>
</dependency>
```
#### 3、配置文件