1
0
forked from erp-dev/erp

feat: disabled sse module and added health check to api_v2 for caddy2

This commit is contained in:
2025-12-27 09:04:12 +08:00
parent 67698dfa71
commit 69c3daa919
5 changed files with 103 additions and 48 deletions

View File

@@ -1,6 +1,7 @@
from django.urls import path
from api_v2.views import (
HealthCheckView,
QuickCreateEmployeeUserView,
PrintingJobByCustomerView,
PrintingJobBatchAdvancePreviewView,
@@ -14,6 +15,7 @@ from api_v2.views import (
from api_v2.views.basic_info import CustomerEmployeeBindingView
urlpatterns = [
path('health/', HealthCheckView.as_view(), name='api_v2_health_check'),
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'),