Skip to content

Commit

Permalink
更新README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dolyw committed Dec 10, 2018
1 parent 38e68e0 commit 00ce41a
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
### 项目相关

* JavaDoc:[https://apidoc.gitee.com/wang926454/ShiroJwt](https://apidoc.gitee.com/wang926454/ShiroJwt)
* 接口文档:[https://github.com/wang926454/Reader/blob/master/ShiroJwt/ShiroJwt - Interface.md](https://github.com/wang926454/Reader/blob/master/ShiroJwt/ShiroJwt%20-%20Interface.md)
* 教程目录:[https://github.com/wang926454/Reader/blob/master/ShiroJwt/ShiroJwt01.md](https://github.com/wang926454/Reader/blob/master/ShiroJwt/ShiroJwt01.md)
* 改为数据库形式(MySQL):[https://github.com/wang926454/Reader/blob/master/ShiroJwt/ShiroJwt02-MySQL.md](https://github.com/wang926454/Reader/blob/master/ShiroJwt/ShiroJwt02-MySQL.md)
* 解决无法直接返回401错误:[https://github.com/wang926454/Reader/blob/master/ShiroJwt/ShiroJwt03-401.md](https://github.com/wang926454/Reader/blob/master/ShiroJwt/ShiroJwt03-401.md)
* 实现Shiro的Cache(Redis)功能:[https://github.com/wang926454/Reader/blob/master/ShiroJwt/ShiroJwt04-Redis.md](https://github.com/wang926454/Reader/blob/master/ShiroJwt/ShiroJwt04-Redis.md)
* 接口文档:[https://github.com/wang926454/MyDocs/blob/master/Project/ShiroJwt/ShiroJwt-Interface.md](https://github.com/wang926454/MyDocs/blob/master/Project/ShiroJwt/ShiroJwt-Interface.md)
* 教程目录:[https://github.com/wang926454/MyDocs/blob/master/Project/ShiroJwt/ShiroJwt01.md](https://github.com/wang926454/MyDocs/blob/master/Project/ShiroJwt/ShiroJwt01.md)
* 改为数据库形式(MySQL):[https://github.com/wang926454/MyDocs/blob/master/Project/ShiroJwt/ShiroJwt02-MySQL.md](https://github.com/wang926454/MyDocs/blob/master/Project/ShiroJwt/ShiroJwt02-MySQL.md)
* 解决无法直接返回401错误:[https://github.com/wang926454/MyDocs/blob/master/Project/ShiroJwt/ShiroJwt03-401.md](https://github.com/wang926454/MyDocs/blob/master/Project/ShiroJwt/ShiroJwt03-401.md)
* 实现Shiro的Cache(Redis)功能:[https://github.com/wang926454/MyDocs/blob/master/Project/ShiroJwt/ShiroJwt04-Redis.md](https://github.com/wang926454/MyDocs/blob/master/Project/ShiroJwt/ShiroJwt04-Redis.md)

### 项目介绍

Expand Down Expand Up @@ -91,23 +91,23 @@ mvn mybatis-generator:generate
```txt
先设置Content-Type为application/json
```
![image text](https://res.wang64.cn/ShiroJwt/image/20181006001.PNG)
![image text](https://docs.wang64.cn/Project/ShiroJwt/image/20181006001.PNG)
```txt
然后填写请求参数帐号密码信息
```
![image text](https://res.wang64.cn/ShiroJwt/image/20181006002.PNG)
![image text](https://docs.wang64.cn/Project/ShiroJwt/image/20181006002.PNG)
```txt
进行请求访问,请求访问成功
```
![image text](https://res.wang64.cn/ShiroJwt/image/20181006003.PNG)
![image text](https://docs.wang64.cn/Project/ShiroJwt/image/20181006003.PNG)
```txt
点击查看Header信息的Authorization属性即是Token字段
```
![image text](https://res.wang64.cn/ShiroJwt/image/20181006004.PNG)
![image text](https://docs.wang64.cn/Project/ShiroJwt/image/20181006004.PNG)
```txt
访问需要权限的请求将Token字段放在Header信息的Authorization属性访问即可
```
![image text](https://res.wang64.cn/ShiroJwt/image/20181006005.PNG)
![image text](https://docs.wang64.cn/Project/ShiroJwt/image/20181006005.PNG)
```txt
Token的自动刷新也是在Token失效时返回新的Token在Header信息的Authorization属性
```
Expand Down

0 comments on commit 00ce41a

Please sign in to comment.