From 9de1ba1b182cc82582da5825660ad5671bda0df2 Mon Sep 17 00:00:00 2001 From: xuyonghao <898441624@qq.com> Date: 星期二, 14 一月 2025 10:43:46 +0800 Subject: [PATCH] 合并excel对话记录保存格式与出题组卷保持一致 --- app/models/base_model.py | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/app/models/base_model.py b/app/models/base_model.py index 580f262..4f66ee2 100644 --- a/app/models/base_model.py +++ b/app/models/base_model.py @@ -6,8 +6,7 @@ from app.config.config import settings -DATABASE_URL = os.getenv('DATABASE_URL') or settings.database_url - +DATABASE_URL = settings.database_url engine = create_engine(DATABASE_URL, pool_size=20, max_overflow=50) SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine) -- Gitblit v1.8.0