refactor(project): remove useless getattr

This commit is contained in:
MingxuanGame
2025-10-04 06:43:55 +00:00
parent c6058eb0d8
commit ca7c74f709
9 changed files with 24 additions and 29 deletions

View File

@@ -316,11 +316,6 @@ STORAGE_SETTINGS='{
Field(default=False, description="是否启用邮件验证功能"),
"验证服务设置",
]
enable_smart_verification: Annotated[
bool,
Field(default=True, description="是否启用智能验证(基于客户端类型和设备信任)"),
"验证服务设置",
]
enable_session_verification: Annotated[
bool,
Field(default=True, description="是否启用会话验证中间件"),
@@ -474,6 +469,12 @@ STORAGE_SETTINGS='{
"缓存设置",
"谱面缓存",
]
beatmapset_cache_expire_seconds: Annotated[
int,
Field(default=3600, description="Beatmapset 缓存过期时间(秒)"),
"缓存设置",
"谱面缓存",
]
# 排行榜缓存设置
enable_ranking_cache: Annotated[