HimoolERP/apps/goods/urls.py
2021-11-09 23:17:54 +08:00

9 lines
273 B
Python

from extensions.routers import *
from apps.goods.views import *
router = BaseRouter()
router.register('goods', GoodsViewSet, 'goods')
router.register('batchs', BatchViewSet, 'batch')
router.register('inventories', InventoryViewSet, 'inventory')
urlpatterns = router.urls