Files
FastapiAdmin/backend/app/api/v1/urls/system_url.py
T
zhangtao d8bac53c72 refactor(backend): 重构任务模块并优化菜单权限
- 移除系统模块中的任务相关代码
- 新增批量设置字典类型和数据状态的功能
- 更新菜单权限获取逻辑,增加对链接类型菜单的支持
- 调整任务模块到 monitor 监控模块下
2025-07-17 00:50:07 +08:00

30 lines
1.8 KiB
Python

# -*- coding: utf-8 -*-
from fastapi import APIRouter
from app.api.v1.controllers.system.auth_controller import router as AuthRouter
from app.api.v1.controllers.system.menu_controller import router as MenuRouter
from app.api.v1.controllers.system.dept_controller import router as DeptRouter
from app.api.v1.controllers.system.role_controller import router as RoleRouter
from app.api.v1.controllers.system.user_controller import router as UserRouter
from app.api.v1.controllers.system.operation_log_controller import router as LogRouter
from app.api.v1.controllers.system.position_controller import router as PositionRouter
from app.api.v1.controllers.system.notice_controller import router as NoticeRouter
from app.api.v1.controllers.system.config_controller import router as ConfigRouter
from app.api.v1.controllers.system.dict_controller import router as DictRouter
SystemApiRouter = APIRouter(prefix="/system")
SystemApiRouter.include_router(router=AuthRouter, prefix="/auth", tags=["系统认证"])
SystemApiRouter.include_router(router=MenuRouter, prefix="/menu", tags=["菜单模块"])
SystemApiRouter.include_router(router=DeptRouter, prefix="/dept", tags=["部门模块"])
SystemApiRouter.include_router(router=RoleRouter, prefix="/role", tags=["角色模块"])
SystemApiRouter.include_router(router=UserRouter, prefix="/user", tags=["用户模块"])
SystemApiRouter.include_router(router=LogRouter, prefix="/log", tags=["日志模块"])
SystemApiRouter.include_router(router=PositionRouter, prefix="/position", tags=["岗位模块"])
SystemApiRouter.include_router(router=NoticeRouter, prefix="/notice", tags=["通知模块"])
SystemApiRouter.include_router(router=ConfigRouter, prefix="/config", tags=["配置模块"])
SystemApiRouter.include_router(router=DictRouter, prefix="/dict", tags=["字典模块"])