|
@@ -1,7 +1,7 @@
|
|
|
from django.urls import path, re_path
|
|
|
|
|
|
from Controller import DetectController, ShadowController, DetectControllerV2, AiController, gatewayController, \
|
|
|
- PowerWarningController
|
|
|
+ PowerWarningController, InitController
|
|
|
from Controller.ComboCron import ComboCronPushController
|
|
|
|
|
|
urlpatterns = [
|
|
@@ -12,6 +12,7 @@ urlpatterns = [
|
|
|
path('notifyV2/push', DetectControllerV2.NotificationV2View.as_view()),
|
|
|
path('notifyV2/powerWarningPush', PowerWarningController.PowerWarningView.as_view()),
|
|
|
|
|
|
+ re_path(r'init/(?P<operation>.*)', InitController.InitView.as_view()),
|
|
|
re_path(r'^AiService/(?P<operation>.*)$', AiController.AiView.as_view()),
|
|
|
re_path(r'^gatewayService/(?P<operation>.*)$', gatewayController.GatewayView.as_view()),
|
|
|
re_path('unicom/device/combo/(?P<operation>.*)$', ComboCronPushController.ComboCronPushView.as_view())
|