chore: 合并 master 分支

This commit is contained in:
Ray.Hao
2025-03-06 20:43:05 +08:00
41 changed files with 633 additions and 1037 deletions

View File

@@ -2,11 +2,6 @@ server:
port: 8989
spring:
jackson:
## 默认序列化时间格式
date-format: yyyy-MM-dd HH:mm:ss
## 默认序列化时区
time-zone: GMT+8
datasource:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
@@ -40,6 +35,8 @@ spring:
time-to-live: 3600000
# 缓存null值防止缓存穿透
cache-null-values: true
caffeine:
spec: initialCapacity=50,maximumSize=1000,expireAfterWrite=600s
# 邮件配置
mail:
host: smtp.youlai.tech
@@ -81,9 +78,9 @@ security:
jwt:
# JWT 秘钥
key: SecretKey012345678901234567890123456789012345678901234567890123456789
# 访问令牌 有效期(单位:秒),默认 1 小时
# 访问令牌 有效期(单位:秒),默认 1 小时-1 表示永不过期
access-token-time-to-live: 3600
# 刷新令牌有效期(单位:秒),默认 7 天
# 刷新令牌有效期(单位:秒),默认 7 天-1 表示永不过期
refresh-token-time-to-live: 604800
# 无需认证的请求路径
redis-token: