chore:清理代码,移除不必要的注释和导入,优化日志记录和错误处理

This commit is contained in:
snaily
2025-04-21 13:20:32 +08:00
parent a7085964e8
commit f83f0fa768
13 changed files with 8 additions and 46 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ class ConfigService:
for key, value in config_data.items():
if hasattr(settings, key):
setattr(settings, key, value)
logger.info(f"Updated setting in memory: {key}")
logger.debug(f"Updated setting in memory: {key}")
# 获取现有设置
existing_settings_raw: List[Dict[str, Any]] = await get_all_settings()