1
0
forked from erp-dev/erp

feat: added /api/v2/roles/

This commit is contained in:
2026-01-05 19:06:45 +08:00
parent e4b7543c09
commit d13d402d98
4 changed files with 89 additions and 2 deletions

View File

@@ -3,6 +3,7 @@ from django.urls import path
from api_v2.views import (
HealthCheckView,
QuickCreateEmployeeUserView,
RoleListView,
PrintingJobByCustomerView,
PrintingJobBatchAdvancePreviewView,
PrintingJobBatchAdvanceSubmitView,
@@ -16,6 +17,7 @@ from api_v2.views.basic_info import CustomerEmployeeBindingView
urlpatterns = [
path('health/', HealthCheckView.as_view(), name='api_v2_health_check'),
path('roles/', RoleListView.as_view(), name='api_v2_role_list'),
path('users/quick-create/', QuickCreateEmployeeUserView.as_view(), name='api_v2_user_quick_create'),
path('customers/bind-employee/', CustomerEmployeeBindingView.as_view(), name='api_v2_customer_bind_employee'),
path('printing-jobs/by-customer/', PrintingJobByCustomerView.as_view(), name='api_v2_printing_job_by_customer'),