auth/ is now an independent package

This commit is contained in:
2026-05-19 22:31:30 +08:00
parent 623fac8749
commit af5f7b38f8
9 changed files with 204 additions and 6 deletions
+12
View File
@@ -0,0 +1,12 @@
from fastapi import APIRouter
# 导入各个渠道的路由
from .google import router as google_router
# from .github import router as github_router
# 创建一个总的 oauth 路由器
oauth_router = APIRouter()
# 包含 Google 的路由
oauth_router.include_router(google_router)
# oauth_router.include_router(github_router)