Browse Source

增加请求MQTT下发快照指令

zhuo 3 weeks ago
parent
commit
e30e6d8b7f
1 changed files with 2 additions and 1 deletions
  1. 2 1
      azoauth/urls.py

+ 2 - 1
azoauth/urls.py

@@ -27,13 +27,14 @@ urlpatterns = [
     path('oa2/authVSees', index.authVSeesView.as_view()),
     path('oa2/login', index.loginHandleView.as_view()),
     path('oa2/token', index.oa2TokenView.as_view()),
-
     # 搜索设备
     path('oa2/discoverydevice', index.oa2DiscoveryDevice.as_view()),
     path('oa2/discoveryswitch', index.oa2DiscoverySwitch.as_view()),
 
     path('oa2/rtspStart', index.oa2RtspStartView.as_view()),            # 通知摄像头设备推流
     path('oa2/powerController', index.powerController.as_view()),       # 控制智能插座开关
+    path('oa2/getSnapshot', index.GetSnapshotView.as_view()),
+
     re_path('device/(?P<operation>.*)', DeviceController.DeviceView.as_view()),
 
     url(r'^deviceStatus/(?P<operation>.*)$', deviceStatus.deviceStatus.as_view()),  # 更新设备信息等接口