Files
django-vue3-admin/backend/plugins/code_info/urls.py
liqiang ab1e0268d1 提交
2025-09-19 10:49:07 +08:00

16 lines
405 B
Python

from django.urls import path
from rest_framework import routers
from plugins.code_info.views.scan_data import ScanDataViewSet
from plugins.code_info.views.scan_record import ScanRecordViewSet
route_url = routers.SimpleRouter()
route_url.register(r'scan_data', ScanDataViewSet,basename='scan_data')
route_url.register(r'scan_record', ScanRecordViewSet)
urlpatterns = [
]
urlpatterns += route_url.urls