浏览代码

新增智能插座url

guanhailong 2 年之前
父节点
当前提交
8d8fd377d1
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      Ansjer/urls.py

+ 3 - 1
Ansjer/urls.py

@@ -25,7 +25,7 @@ from Controller import FeedBack, EquipmentOTA, EquipmentInfo, AdminManage, AppIn
     DeviceLogController, CouponController, AiController, ShadowController, SuperPasswordTool
     DeviceLogController, CouponController, AiController, ShadowController, SuperPasswordTool
 from Controller.Cron import CronTaskController
 from Controller.Cron import CronTaskController
 from Controller.MessagePush import EquipmentMessagePush
 from Controller.MessagePush import EquipmentMessagePush
-from Controller.SensorGateway import SensorGatewayController, EquipmentFamilyController
+from Controller.SensorGateway import SensorGatewayController, EquipmentFamilyController, SmartSocketStatisticsController
 from Controller.Surveys import CloudStorageController
 from Controller.Surveys import CloudStorageController
 from Controller.UserDevice import UserDeviceShareController
 from Controller.UserDevice import UserDeviceShareController
 
 
@@ -287,6 +287,8 @@ urlpatterns = [
     re_path(r'serial/(?P<operation>.*)', SerialManageController.SerialView.as_view()),
     re_path(r'serial/(?P<operation>.*)', SerialManageController.SerialView.as_view()),
     # 数据系统模块
     # 数据系统模块
     re_path(r'^dataManagement/', include("Ansjer.server_urls.datasystem_url")),
     re_path(r'^dataManagement/', include("Ansjer.server_urls.datasystem_url")),
+    # 查询智能插座
+    re_path(r'^smartSocket/(?P<operation>.*)', SmartSocketStatisticsController.SmartSocketStatisticsView.as_view()),
     # 后台界面接口 -------------------------------------------------------------------------------------------------------
     # 后台界面接口 -------------------------------------------------------------------------------------------------------
 
 
     # 定时任务接口
     # 定时任务接口