2026-03-07 05:43:15 +00:00
|
|
|
server.port=8082
|
|
|
|
|
spring.application.name=springboot-demo
|
2026-03-18 15:18:30 +08:00
|
|
|
|
|
|
|
|
# 学习友好:默认只保护 /api/secure/**
|
|
|
|
|
learning.auth.enabled=true
|
|
|
|
|
learning.auth.jwt.secret=demo-learning-secret-key-demo-learning-secret-key
|
|
|
|
|
learning.auth.jwt.expiration=86400000
|
|
|
|
|
|
|
|
|
|
# 避免默认生成密码干扰学习输出
|
|
|
|
|
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration
|