__init__.py 656 B

12345678910111213141516171819
  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. from . import m_count
  9. router = APIRouter()
  10. router.include_router(material_type.router, prefix="/type", tags=["物资种类"])
  11. router.include_router(warehouse.router, prefix="/warehouse", tags=["仓库"])
  12. router.include_router(warehouse_root.router, prefix="/warehouse_root", tags=["仓库库房"])
  13. router.include_router(material.router, prefix="/material", tags=["物资"])
  14. router.include_router(m_count.router, prefix="/count", tags=["物资统计"])