fix(backend): 后台注册限流配置优先并保留注入兜底

This commit is contained in:
Zhou Weidong committed 2026-10-17 23:39:48 +08:00
1 parent 903e7db085
commit 35d92c0148
4 files changed
+23 -8

No files matched your search

@@ -43,6 +43,10 @@ springdoc:
path: /v3/api-docs
fruitshorts:
auth:
# 仅作 sys_config 缺失/非法时的兜底;运行时优先读取后台「系统配置」
register-max-per-ip-per-day: ${REGISTER_MAX_PER_IP_PER_DAY:5}
register-max-per-device-per-day: ${REGISTER_MAX_PER_DEVICE_PER_DAY:3}
interaction:
# MACHINE_FIRST:机审通过即发布,命中 REVIEW 级敏感词才转人工
# PRE_REVIEW :全部先审后发(生产建议)