feat:新增基于 pydantic-settings 的统一配置中心

This commit is contained in:
2026-06-11 17:20:55 +08:00
parent 993586fdee
commit cb2a7dcca3
2 changed files with 185 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
"""核心基础模块 (配置、日志、异常等)。"""
from .settings import (
Settings,
get_settings,
SERVER_DIR,
PROJECT_ROOT,
)
__all__ = ["Settings", "get_settings", "SERVER_DIR", "PROJECT_ROOT"]