|
@@ -15,7 +15,8 @@ Including another URLconf
|
|
"""
|
|
"""
|
|
from django.contrib import admin
|
|
from django.contrib import admin
|
|
from django.urls import path
|
|
from django.urls import path
|
|
-from Controller import DetectController, ShadowController, TestDetectController, EquipmentInfo, DetectControllerV2, AiController, TestController
|
|
|
|
|
|
+from Controller import DetectController, ShadowController, TestDetectController, EquipmentInfo, DetectControllerV2, \
|
|
|
|
+ AiController, TestController, gatewayController
|
|
from django.conf.urls import url
|
|
from django.conf.urls import url
|
|
|
|
|
|
urlpatterns = [
|
|
urlpatterns = [
|
|
@@ -31,6 +32,7 @@ urlpatterns = [
|
|
path('notifyV2/push', DetectControllerV2.NotificationView.as_view()),
|
|
path('notifyV2/push', DetectControllerV2.NotificationView.as_view()),
|
|
url(r'^notifyV2/(?P<operation>.*)$', DetectControllerV2.NotificationView.as_view()),
|
|
url(r'^notifyV2/(?P<operation>.*)$', DetectControllerV2.NotificationView.as_view()),
|
|
url(r'^AiService/(?P<operation>.*)$', AiController.AiView.as_view()),
|
|
url(r'^AiService/(?P<operation>.*)$', AiController.AiView.as_view()),
|
|
|
|
+ url(r'^gatewayService/(?P<operation>.*)$', gatewayController.GatewayView.as_view()),
|
|
|
|
|
|
url('testDetect/testJpush', TestController.testDetect),
|
|
url('testDetect/testJpush', TestController.testDetect),
|
|
url('testDetect/testApns', TestController.testDetectApns),
|
|
url('testDetect/testApns', TestController.testDetectApns),
|