|
@@ -2,7 +2,7 @@ from django.urls import path, re_path
|
|
|
|
|
|
from Controller import DetectController, ShadowController, DetectControllerV2, AiController, gatewayController, \
|
|
from Controller import DetectController, ShadowController, DetectControllerV2, AiController, gatewayController, \
|
|
PowerWarningController, InitController, CustomizedPushController, TransparentTransmissionPushController, \
|
|
PowerWarningController, InitController, CustomizedPushController, TransparentTransmissionPushController, \
|
|
- DeviceReportController
|
|
|
|
|
|
+ DeviceReportController, ReportController
|
|
from Controller.ComboCron import ComboCronPushController
|
|
from Controller.ComboCron import ComboCronPushController
|
|
from Controller.Cron import CronTaskController
|
|
from Controller.Cron import CronTaskController
|
|
|
|
|
|
@@ -19,6 +19,8 @@ urlpatterns = [
|
|
re_path(r'init/(?P<operation>.*)', InitController.InitView.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'^AiService/(?P<operation>.*)$', AiController.AiView.as_view()),
|
|
re_path(r'^gatewayService/(?P<operation>.*)$', gatewayController.GatewayView.as_view()),
|
|
re_path(r'^gatewayService/(?P<operation>.*)$', gatewayController.GatewayView.as_view()),
|
|
|
|
+
|
|
|
|
+ re_path('report/(?P<operation>.*)$', ReportController.ReportView.as_view()),
|
|
re_path('unicom/device/combo/(?P<operation>.*)$', ComboCronPushController.ComboCronPushView.as_view()),
|
|
re_path('unicom/device/combo/(?P<operation>.*)$', ComboCronPushController.ComboCronPushView.as_view()),
|
|
re_path('customized_push/(?P<operation>.*)', CustomizedPushController.CustomizedPushView.as_view()),
|
|
re_path('customized_push/(?P<operation>.*)', CustomizedPushController.CustomizedPushView.as_view()),
|
|
re_path('push/device/report/(?P<operation>.*)$', DeviceReportController.DeviceReportView.as_view()),
|
|
re_path('push/device/report/(?P<operation>.*)$', DeviceReportController.DeviceReportView.as_view()),
|