refactor(config): 调整限流与存储配置

- 移除 IP 限流过滤器,改用切面实现限流
- 更新存储、定时任务与健康检查配置
This commit is contained in:
Ray.Hao committed 2026-11-24 09:22:54 +08:00
1 parent 95adee879e
commit 06c71969e5
11 files changed
+40 -128

No files matched your search

+13 -5
View File
@@ -33,10 +33,14 @@ security:
jwt:
secret-key: SecretKey012345678901234567890123456789012345678901234567890123456789 # HS256 密钥,至少 32 字节
# 请求限流
# 接口限流
rate-limit:
# @RateLimit 未指定参数时使用的接口限流规则
default-limit: 60
# 是否启用 @RateLimit 接口限流
enabled: true
# 每个用户(未登录按 IP)、每个接口的默认请求次数上限
limit: 60
# 上述次数对应的滑动窗口
window: 60s
# 文件存储
storage:
@@ -73,7 +77,7 @@ storage:
springdoc:
swagger-ui:
path: /swagger-ui.html
operationsSorter: alpha
operations-sorter: alpha
tags-sorter: alpha
api-docs:
path: /v3/api-docs
@@ -95,6 +99,10 @@ springdoc:
- com.youlai.boot.module.workflow.controller
default-flat-param-object: true
apidoc:
enabled: true
path: /doc.html
---
# 邮件、短信、小程序与定时任务(可选)
@@ -132,7 +140,7 @@ xxl:
admin:
# 调度中心地址,多个用逗号分隔
addresses: ""
accessToken: ""
access-token: ""
executor:
appname: xxl-job-executor-${spring.application.name}