mirror of
https://github.com/stardrophere/InsightRadar.git
synced 2026-06-05 23:56:36 +08:00
big update
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# app/api/router.py
|
||||
from fastapi import APIRouter
|
||||
from app.api.endpoints import auth, sources, events
|
||||
from app.api.endpoints import auth, delivery, events, preferences, revisions, sources, stats
|
||||
|
||||
api_router = APIRouter()
|
||||
|
||||
@@ -9,4 +9,18 @@ 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"])
|
||||
|
||||
# 用户偏好(关键词订阅)
|
||||
api_router.include_router(preferences.router, tags=["User Preferences"])
|
||||
|
||||
# 推送设置(时间表 + 渠道)
|
||||
api_router.include_router(delivery.router, tags=["Delivery Settings"])
|
||||
|
||||
# 公关修改追踪
|
||||
api_router.include_router(revisions.router, prefix="/events", tags=["Headline Revisions"])
|
||||
|
||||
# 系统状态监控
|
||||
api_router.include_router(stats.router, tags=["System Stats"])
|
||||
|
||||
Reference in New Issue
Block a user