router.py 485 B

12345678910111213141516
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. from fastapi import APIRouter
  4. from .endpoints.sysdata import router as sysdata_router
  5. from .endpoints.school import router as school_router
  6. from .endpoints.resource import router as resource_router
  7. from .endpoints.paper import router as paper_router
  8. router = APIRouter(prefix="/admin")
  9. router.include_router(school_router)
  10. router.include_router(resource_router)
  11. router.include_router(sysdata_router)
  12. router.include_router(paper_router)