__init__.py 556 B

1234567891011121314151617
  1. #!/usr/bin/env python3
  2. # -*- coding: utf-8 -*-
  3. from fastapi import APIRouter, Request, Depends
  4. from . import material_type
  5. from . import warehouse
  6. from . import warehouse_root
  7. from . import material
  8. router = APIRouter()
  9. router.include_router(material_type.router, prefix="/type", tags=["物资种类"])
  10. router.include_router(warehouse.router, prefix="/warehouse", tags=["仓库"])
  11. router.include_router(warehouse_root.router, prefix="/warehouse_root", tags=["仓库库房"])
  12. router.include_router(material.router, prefix="/material", tags=["物资"])