__init__.py 626 B

123456789101112131415161718
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. from fastapi import APIRouter
  4. from .school import router as school_router
  5. from .grade import router as grade_router
  6. from .schoolclass import router as class_router
  7. from .teacher import router as teacher_router
  8. from .student import router as student_router
  9. router = APIRouter()
  10. router.include_router(school_router, tags=["学校管理"])
  11. router.include_router(grade_router, tags=["年级管理"])
  12. router.include_router(class_router, tags=["班级管理"])
  13. router.include_router(teacher_router, tags=["教师管理"])
  14. router.include_router(student_router, tags=["学生管理"])