| | |
| | | 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 |
| | |
| | | app.include_router(public_api, prefix='/v1/api', 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__": |