mirror of
https://github.com/stardrophere/InsightRadar.git
synced 2026-06-06 00:57:51 +08:00
13 lines
422 B
Python
13 lines
422 B
Python
# app/api/router.py
|
|
from fastapi import APIRouter
|
|
from app.api.endpoints import auth, sources, events
|
|
|
|
api_router = APIRouter()
|
|
|
|
# 信息源管理
|
|
api_router.include_router(sources.router, prefix="/sources", tags=["信息源管理"])
|
|
|
|
# 注册大事件相关的路由
|
|
api_router.include_router(events.router, prefix="/events", tags=["Unified Events"])
|
|
api_router.include_router(auth.router, prefix="/auth", tags=["Auth"])
|