From 226202d6eee6480f3386c6295be26fad42940cc8 Mon Sep 17 00:00:00 2001
From: zhaoqingang <zhaoqg0118@163.com>
Date: 星期五, 28 三月 2025 09:41:39 +0800
Subject: [PATCH] 知识库分享,历史记录文件

---
 main.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/main.py b/main.py
index d0ba8d6..3ec7a9d 100644
--- a/main.py
+++ b/main.py
@@ -15,6 +15,7 @@
 from app.api.organization import dept_router
 from app.api.system import system_router
 from app.api.v2.chat import chat_router_v2
+from app.api.v2.mindmap import mind_map_router
 from app.api.v2.public_api import public_api
 from app.api.report import router as report_router
 from app.api.resource import menu_router
@@ -74,9 +75,10 @@
 app.include_router(dialog_router, prefix='/api/dialog', tags=["dialog"])
 app.include_router(canvas_router, prefix='/api/canvas', tags=["canvas"])
 app.include_router(label_router, prefix='/api/label', tags=["label"])
-app.include_router(public_api, prefix='/v1/api', tags=["public_api"])
+app.include_router(public_api, prefix='/v1', tags=["public_api"])
 app.include_router(chat_router_v2, prefix='/api/v1', tags=["chat1"])
 app.include_router(system_router, prefix='/api/system', tags=["system"])
+app.include_router(mind_map_router, prefix='/api/mindmap', tags=["mindmap"])
 app.mount("/static", StaticFiles(directory="app/images"), name="static")
 
 if __name__ == "__main__":

--
Gitblit v1.8.0