搜索次数接口
This commit is contained in:
parent
4194e9e12f
commit
94f46857c6
4
main.py
4
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")
|
||||
|
|
|
|||
Loading…
Reference in New Issue