mirror of
https://github.com/201206030/novel.git
synced 2025-07-06 21:16:38 +00:00
build: 集成 JWT 支持
This commit is contained in:
@ -17,7 +17,7 @@ server:
|
||||
---
|
||||
spring:
|
||||
datasource:
|
||||
url: jdbc:mysql://localhost:3306/novel?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
|
||||
url: jdbc:mysql://localhost:3306/novel_test?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
|
||||
username: root
|
||||
password: test123456
|
||||
config:
|
||||
@ -36,3 +36,12 @@ spring:
|
||||
activate:
|
||||
on-profile: dev
|
||||
|
||||
|
||||
---
|
||||
spring:
|
||||
config:
|
||||
activate:
|
||||
on-profile: dev
|
||||
# JWT密钥
|
||||
jwt:
|
||||
secret: E66559580A1ADF48CDD928516062F12E
|
Reference in New Issue
Block a user