chore: 删除白名单重复配置
This commit is contained in:
@@ -91,9 +91,7 @@ security:
|
|||||||
- /doc.html
|
- /doc.html
|
||||||
- /swagger-resources/**
|
- /swagger-resources/**
|
||||||
- /webjars/**
|
- /webjars/**
|
||||||
- /doc.html
|
|
||||||
- /swagger-ui/**
|
- /swagger-ui/**
|
||||||
- /swagger-ui.html
|
|
||||||
- /api/v1/auth/captcha
|
- /api/v1/auth/captcha
|
||||||
- /api/v1/auth/refresh-token
|
- /api/v1/auth/refresh-token
|
||||||
- /ws/**
|
- /ws/**
|
||||||
|
|||||||
@@ -39,13 +39,28 @@ spring:
|
|||||||
time-to-live: 3600000
|
time-to-live: 3600000
|
||||||
# 缓存null值,防止缓存穿透
|
# 缓存null值,防止缓存穿透
|
||||||
cache-null-values: true
|
cache-null-values: true
|
||||||
|
# 邮件配置
|
||||||
|
mail:
|
||||||
|
host: smtp.youlai.tech
|
||||||
|
port: 587
|
||||||
|
username: your-email@example.com
|
||||||
|
password: 123456
|
||||||
|
properties:
|
||||||
|
mail:
|
||||||
|
smtp:
|
||||||
|
auth: true
|
||||||
|
starttls:
|
||||||
|
enable: true
|
||||||
|
# 邮件发送者
|
||||||
|
from: youlaitech@163.com
|
||||||
|
|
||||||
mybatis-plus:
|
mybatis-plus:
|
||||||
mapper-locations: classpath*:/mapper/**/*.xml
|
mapper-locations: classpath*:/mapper/**/*.xml
|
||||||
global-config:
|
global-config:
|
||||||
db-config:
|
db-config:
|
||||||
# 主键ID类型
|
# 主键ID类型
|
||||||
id-type: none
|
id-type: none
|
||||||
# 逻辑删除字段名称
|
# 逻辑删除全局属性名(驼峰和下划线都支持)
|
||||||
logic-delete-field: isDeleted
|
logic-delete-field: isDeleted
|
||||||
# 逻辑删除-删除值
|
# 逻辑删除-删除值
|
||||||
logic-delete-value: 1
|
logic-delete-value: 1
|
||||||
@@ -62,7 +77,6 @@ security:
|
|||||||
session:
|
session:
|
||||||
# 会话方式,支持 jwt、redis-token
|
# 会话方式,支持 jwt、redis-token
|
||||||
type: jwt
|
type: jwt
|
||||||
# JWT 配置
|
|
||||||
jwt:
|
jwt:
|
||||||
# JWT 秘钥
|
# JWT 秘钥
|
||||||
key: SecretKey012345678901234567890123456789012345678901234567890123456789
|
key: SecretKey012345678901234567890123456789012345678901234567890123456789
|
||||||
@@ -76,9 +90,7 @@ security:
|
|||||||
- /doc.html
|
- /doc.html
|
||||||
- /swagger-resources/**
|
- /swagger-resources/**
|
||||||
- /webjars/**
|
- /webjars/**
|
||||||
- /doc.html
|
|
||||||
- /swagger-ui/**
|
- /swagger-ui/**
|
||||||
- /swagger-ui.html
|
|
||||||
- /api/v1/auth/captcha
|
- /api/v1/auth/captcha
|
||||||
- /api/v1/auth/refresh-token
|
- /api/v1/auth/refresh-token
|
||||||
- /ws/**
|
- /ws/**
|
||||||
@@ -196,7 +208,12 @@ captcha:
|
|||||||
# 字体样式 0-普通|1-粗体|2-斜体
|
# 字体样式 0-普通|1-粗体|2-斜体
|
||||||
weight: 1
|
weight: 1
|
||||||
# 字体大小
|
# 字体大小
|
||||||
size: 20
|
size: 24
|
||||||
# 验证码有效期(秒)
|
# 验证码有效期(秒)
|
||||||
expire-seconds: 120
|
expire-seconds: 120
|
||||||
|
|
||||||
|
# 微信小程序
|
||||||
|
wechat:
|
||||||
|
miniapp:
|
||||||
|
appId: xxxxxx
|
||||||
|
appSecret: xxxxxx
|
||||||
Reference in New Issue
Block a user