From cb9a411c55382365f03864714c313e0c2db15c51 Mon Sep 17 00:00:00 2001 From: BBIT-Kai <2911862937@qq.com> Date: Wed, 15 Jul 2026 09:15:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbit_ai/app/app.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bbit_ai/app/app.py b/bbit_ai/app/app.py index f3bfd0b..dd706ef 100644 --- a/bbit_ai/app/app.py +++ b/bbit_ai/app/app.py @@ -67,14 +67,14 @@ async def ai_lab(): ] for r in routers: app.include_router(r, prefix="/llm", tags=["llm"]) + app.include_router(amRouter, prefix="/am", tags=["annual_meeting"]) + app.include_router(difyRouter, prefix="/api/dify", tags=["dify"]) + app.include_router(iot_router, prefix="/iot", tags=["iot"]) app.include_router(visionRouter, prefix="/cv", tags=["cv"]) app.include_router(systemRouter, prefix="/system", tags=["system"]) - app.include_router(amRouter, prefix="/am", tags=["annual_meeting"]) - app.include_router(iot_router, prefix="/iot", tags=["iot"]) - app.include_router(sentinel_router, prefix="/iot/sentinel", tags=["iot_sentinel"]) - app.include_router(iot_ws_router, prefix="/iot/ws", tags=["iot_ws"]) app.include_router(publicRouter, prefix="/api/public", tags=["api"]) - app.include_router(difyRouter, prefix="/api/dify", tags=["dify"]) + app.include_router(iot_ws_router, prefix="/iot/ws", tags=["iot_ws"]) + app.include_router(sentinel_router, prefix="/iot/sentinel", tags=["iot_sentinel"]) # ----------- 全局异常捕获 --------- @app.exception_handler(Exception)