2025-04-04 00:16:18 +08:00
|
|
|
from fastapi import APIRouter
|
2025-09-01 22:37:03 +08:00
|
|
|
|
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
|
2025-10-04 22:21:30 +08:00
|
|
|
from server.routers.dashboard_router import dashboard
|
2025-06-30 22:29:23 +08:00
|
|
|
from server.routers.graph_router import graph
|
2025-09-01 22:37:03 +08:00
|
|
|
from server.routers.knowledge_router import knowledge
|
|
|
|
|
from server.routers.system_router import system
|
2025-10-11 15:02:24 +08:00
|
|
|
from server.routers.task_router import tasks
|
2025-04-04 00:16:18 +08:00
|
|
|
|
|
|
|
|
router = APIRouter()
|
2025-07-22 17:29:38 +08:00
|
|
|
|
|
|
|
|
# 注册路由结构
|
2025-09-01 22:37:03 +08:00
|
|
|
router.include_router(system) # /api/system/*
|
|
|
|
|
router.include_router(auth) # /api/auth/*
|
|
|
|
|
router.include_router(chat) # /api/chat/*
|
2025-10-04 22:21:30 +08:00
|
|
|
router.include_router(dashboard) # /api/dashboard/*
|
2025-09-01 22:37:03 +08:00
|
|
|
router.include_router(knowledge) # /api/knowledge/*
|
|
|
|
|
router.include_router(graph) # /api/graph/*
|
2025-10-11 15:02:24 +08:00
|
|
|
router.include_router(tasks) # /api/tasks/*
|