docs: 添加 jwt 配置注释
This commit is contained in:
@@ -62,7 +62,9 @@ mybatis-plus:
|
|||||||
# 安全配置
|
# 安全配置
|
||||||
security:
|
security:
|
||||||
jwt:
|
jwt:
|
||||||
|
# JWT 秘钥
|
||||||
key: SecretKey012345678901234567890123456789012345678901234567890123456789
|
key: SecretKey012345678901234567890123456789012345678901234567890123456789
|
||||||
|
# JWT 有效期(单位:秒)
|
||||||
ttl: 7200
|
ttl: 7200
|
||||||
ignore-urls:
|
ignore-urls:
|
||||||
- /v3/api-docs/**
|
- /v3/api-docs/**
|
||||||
|
|||||||
@@ -60,7 +60,9 @@ mybatis-plus:
|
|||||||
# 安全配置
|
# 安全配置
|
||||||
security:
|
security:
|
||||||
jwt:
|
jwt:
|
||||||
|
# JWT 秘钥
|
||||||
key: SecretKey012345678901234567890123456789012345678901234567890123456789
|
key: SecretKey012345678901234567890123456789012345678901234567890123456789
|
||||||
|
# JWT 有效期(单位:秒)
|
||||||
ttl: 7200
|
ttl: 7200
|
||||||
ignore-urls:
|
ignore-urls:
|
||||||
- /v3/api-docs/**
|
- /v3/api-docs/**
|
||||||
|
|||||||
Reference in New Issue
Block a user