将环境设置为生产模式;更新网络名称配置

This commit is contained in:
2026-04-08 10:49:01 +08:00
parent 6b09c6b20d
commit 644babf77e
3 changed files with 6 additions and 5 deletions
+3 -1
View File
@@ -6,9 +6,11 @@ from pydantic_settings import BaseSettings, SettingsConfigDict
class Settings(BaseSettings):
PROJECT_NAME: str = "TJWater Server"
ENVIRONMENT: str = "local"
ENVIRONMENT: str = "production"
API_V1_STR: str = "/api/v1"
NETWORK_NAME: str = "default_network"
# JWT 配置
SECRET_KEY: str = (
"your-secret-key-here-change-in-production-use-openssl-rand-hex-32"