Skip to content

Commit 73e4df7

Browse files
committed
调整jdbc方式获取token
1 parent be937d6 commit 73e4df7

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

api-boot-samples/api-boot-sample-security-oauth-jwt/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@
3131
<groupId>mysql</groupId>
3232
<artifactId>mysql-connector-java</artifactId>
3333
</dependency>
34+
<!--ApiBoot Mybatis Enhance-->
35+
<dependency>
36+
<groupId>org.minbox.framework</groupId>
37+
<artifactId>api-boot-starter-mybatis-enhance</artifactId>
38+
</dependency>
3439
</dependencies>
3540
<!--ApiBoot版本依赖-->
3641
<dependencyManagement>

api-boot-samples/api-boot-sample-security-oauth-jwt/src/main/resources/application.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ api:
2222
enable: true
2323
# 转换Jwt时所需加密key,默认为ApiBoot
2424
sign-key: 恒宇少年 - 于起宇
25+
away: jdbc

0 commit comments

Comments
 (0)