feat(learning-auth): expose auth mode in profile and default advanced to jwt

This commit is contained in:
likingcode
2026-03-09 02:11:49 +08:00
parent 3c208651b9
commit f846616e0b
5 changed files with 9 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ spring:
# 鉴权方案选择: none / jwt / satoken
auth:
type: ${AUTH_TYPE:none} # none | jwt | satoken
type: ${AUTH_TYPE:jwt} # none | jwt | satoken
jwt:
secret: ${JWT_SECRET:your-secret-key}
expiration: ${JWT_EXPIRATION:86400000} # 24小时