feat: 添加配置管理模块,优化环境变量设置,调整登陆页面、基础页面基本信息

This commit is contained in:
zhangtao
2025-01-08 02:57:26 +08:00
parent 2eb9adb243
commit c8d7e4bb03
21 changed files with 945 additions and 63 deletions
+1
View File
@@ -15,6 +15,7 @@ from app.common.enums import Environment
class Settings(BaseSettings):
"""系统配置类"""
model_config = SettingsConfigDict(
env_file='.env',
env_file_encoding="utf-8",
case_sensitive=True,
)