From 127fd65efb9ee811458b6de33c7b6cb06c323703 Mon Sep 17 00:00:00 2001 From: xuyonghao <898441624@qq.com> Date: 星期五, 27 十二月 2024 15:00:27 +0800 Subject: [PATCH] 权限详情-增加type字段区分机构与个人菜单 --- 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