From ca595f322702c8671d08f8749c4c8a67c6aec0c9 Mon Sep 17 00:00:00 2001 From: aaron <> Date: Thu, 27 Feb 2025 17:26:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E5=9B=9E=E8=B0=83=E5=9C=B0?= =?UTF-8?q?=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/core/config.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/core/config.py b/app/core/config.py index c85374b..0c4f998 100644 --- a/app/core/config.py +++ b/app/core/config.py @@ -115,6 +115,8 @@ class DevSettings(Settings): API_V1_STR: str = "/api/v1" PROJECT_NAME: str = "FastAPI 项目 (开发环境)" + API_BASE_URL: str = "https://api-dev.beefast.co" + MYSQL_HOST: str = "gz-cynosdbmysql-grp-2j1cnopr.sql.tencentcdb.com" MYSQL_PORT: int = 27469 MYSQL_USER: str = "root" @@ -128,6 +130,8 @@ class ProdSettings(Settings): DEBUG: bool = False # 生产模式标志 API_V1_STR: str = "/api/v1" PROJECT_NAME: str = "FastAPI 项目 (生产环境)" + + API_BASE_URL: str = "https://api.beefast.co" MYSQL_HOST: str = "cd-cynosdbmysql-grp-7kdd8qe4.sql.tencentcdb.com" MYSQL_PORT: int = 26558