细节优化

This commit is contained in:
amb
2026-09-02 18:32:56 +08:00
parent 8ec7856bfc
commit bfb7a1a8a2
7 changed files with 69 additions and 53 deletions
+2
View File
@@ -41,6 +41,8 @@ class Settings(BaseSettings):
# --- 数据保留 ---
# 访问日志保留天数,超过自动清理(0 = 永久保留,不推荐)
access_log_retention_days: int = 90
# 回收站保留天数,超期自动彻底删除(含物理文件)
recycle_bin_retention_days: int = 3
# --- CORS ---
frontend_origin: str = "http://localhost:5173"