12 lines
330 B
Python
12 lines
330 B
Python
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) |