ForcePilot/server/routers/__init__.py

19 lines
649 B
Python
Raw Normal View History

2025-04-04 00:16:18 +08:00
from fastapi import APIRouter
2025-05-02 23:56:59 +08:00
from server.routers.auth_router import auth
2025-07-22 17:29:38 +08:00
from server.routers.chat_router import chat
from server.routers.dashboard_router import dashboard
from server.routers.graph_router import graph
from server.routers.knowledge_router import knowledge
from server.routers.system_router import system
2025-04-04 00:16:18 +08:00
router = APIRouter()
2025-07-22 17:29:38 +08:00
# 注册路由结构
router.include_router(system) # /api/system/*
router.include_router(auth) # /api/auth/*
router.include_router(chat) # /api/chat/*
router.include_router(dashboard) # /api/dashboard/*
router.include_router(knowledge) # /api/knowledge/*
router.include_router(graph) # /api/graph/*