feat:新增基于 pydantic-settings 的统一配置中心
This commit is contained in:
10
apps/server/core/__init__.py
Normal file
10
apps/server/core/__init__.py
Normal file
@@ -0,0 +1,10 @@
|
||||
"""核心基础模块 (配置、日志、异常等)。"""
|
||||
|
||||
from .settings import (
|
||||
Settings,
|
||||
get_settings,
|
||||
SERVER_DIR,
|
||||
PROJECT_ROOT,
|
||||
)
|
||||
|
||||
__all__ = ["Settings", "get_settings", "SERVER_DIR", "PROJECT_ROOT"]
|
||||
Reference in New Issue
Block a user