搜索次数接口

This commit is contained in:
Miyamizu-MitsuhaSang 2025-11-06 20:06:40 +08:00
parent 4194e9e12f
commit 94f46857c6
1 changed files with 2 additions and 2 deletions

View File

@ -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")