Skip to content

Commit 483b642

Browse files
author
Xiong Neng
committed
2.0依赖升级完成
1 parent 9e9cd02 commit 483b642

File tree

29 files changed

+41
-78
lines changed

29 files changed

+41
-78
lines changed

springboot-async/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
<groupId>org.springframework.boot</groupId>
1717
<artifactId>spring-boot-starter-parent</artifactId>
1818
<version>2.0.4.RELEASE</version>
19-
<relativePath/>
2019
</parent>
2120

2221
<properties>

springboot-batch/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
<groupId>org.springframework.boot</groupId>
1717
<artifactId>spring-boot-starter-parent</artifactId>
1818
<version>2.0.4.RELEASE</version>
19-
<relativePath/>
2019
</parent>
2120

2221
<properties>

springboot-cache/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
<groupId>org.springframework.boot</groupId>
1717
<artifactId>spring-boot-starter-parent</artifactId>
1818
<version>2.0.4.RELEASE</version>
19-
<relativePath/>
2019
</parent>
2120

2221
<properties>

springboot-cxf/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
<groupId>org.springframework.boot</groupId>
1717
<artifactId>spring-boot-starter-parent</artifactId>
1818
<version>2.0.4.RELEASE</version>
19-
<relativePath/>
2019
</parent>
2120

2221
<properties>

springboot-echarts/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
<groupId>org.springframework.boot</groupId>
1717
<artifactId>spring-boot-starter-parent</artifactId>
1818
<version>2.0.4.RELEASE</version>
19-
<relativePath/>
2019
</parent>
2120

2221
<properties>

springboot-hibernate/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
<groupId>org.springframework.boot</groupId>
1717
<artifactId>spring-boot-starter-parent</artifactId>
1818
<version>2.0.4.RELEASE</version>
19-
<relativePath/>
2019
</parent>
2120

2221
<properties>

springboot-jwt/README.md

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
一般来讲,对于RESTful API都会有认证(Authentication)和授权(Authorization)过程,保证API的安全性。
55

6-
采用TOKEN认证,这种方式也是再HTTP头中,使用Authorization: Bearer <token>,使用最广泛的TOKEN是JWT,通过签名过的TOKEN。
6+
采用TOKEN认证,这种方式也是再HTTP头中,使用`Authorization: Bearer <token>`,使用最广泛的TOKEN是JWT,通过签名过的TOKEN。
77

88
基于Shiro+JWT可实现Token认证方式
99

@@ -60,31 +60,9 @@ GET http://localhost:9095/api/v1/join?imei=imei
6060

6161
```
6262
Content-Type: application/json
63-
Authorization: 'Bearer ' + token
63+
Authorization: "上面拿到的token值"
6464
```
6565

66-
*Body参数*
67-
68-
``` json
69-
{
70-
"username": "admin",
71-
"password": "12345678",
72-
"appid": "111",
73-
"imei": "imei"
74-
}
75-
```
76-
77-
返回值:
78-
79-
``` json
80-
{
81-
"success": true,
82-
"msg": "Login success",
83-
"data": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhcHBpZCI6IjExMSIsImltZWkiOiJpbWVpIiwiZXhwIjoxNTM2NDg3NTM1LCJ1c2VybmFtZSI6ImFkbWluIn0.uat7rvVLwC7bcM-jRs329RWdHIFC6P-YN7YdJrdRUHE"
84-
}
85-
```
86-
87-
8866
## 许可证
8967

9068
Copyright (c) 2018 Xiong Neng

springboot-jwt/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
<groupId>org.springframework.boot</groupId>
1717
<artifactId>spring-boot-starter-parent</artifactId>
1818
<version>2.0.4.RELEASE</version>
19-
<relativePath/>
2019
</parent>
2120

2221
<properties>

springboot-mongodb/pom.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
<parent>
1616
<groupId>org.springframework.boot</groupId>
1717
<artifactId>spring-boot-starter-parent</artifactId>
18-
<version>1.5.10.RELEASE</version>
19-
<relativePath/>
18+
<version>2.0.4.RELEASE</version>
2019
</parent>
2120

2221
<properties>

springboot-multisource/pom.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
<parent>
1616
<groupId>org.springframework.boot</groupId>
1717
<artifactId>spring-boot-starter-parent</artifactId>
18-
<version>1.5.10.RELEASE</version>
19-
<relativePath/>
18+
<version>2.0.4.RELEASE</version>
2019
</parent>
2120

2221
<properties>

0 commit comments

Comments
 (0)