From 94f46857c6a1cf05aa77e986e1aa3fc388961c5b Mon Sep 17 00:00:00 2001 From: Miyamizu-MitsuhaSang <2510681107@qq.com> Date: Thu, 6 Nov 2025 20:06:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=9C=E7=B4=A2=E6=AC=A1=E6=95=B0=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index c1c493f..8aca619 100644 --- a/main.py +++ b/main.py @@ -19,7 +19,7 @@ from app.api.util_api.routes import ulit_router from app.api.word_comment.routes import word_comment_router from app.core.redis import init_redis, close_redis from app.utils.phone_encrypt import PhoneEncrypt -from settings import TORTOISE_ORM +from settings import ONLINE_SETTINGS @asynccontextmanager @@ -47,7 +47,7 @@ app.add_middleware( register_tortoise( app=app, - config=TORTOISE_ORM + config=ONLINE_SETTINGS, ) app.include_router(users_router, tags=["User API"], prefix="/users")