tanghongbin 4 жил өмнө
parent
commit
b9b1bde0dc
1 өөрчлөгдсөн 6 нэмэгдсэн , 3 устгасан
  1. 6 3
      Ansjer/urls.py

+ 6 - 3
Ansjer/urls.py

@@ -11,8 +11,7 @@ from Controller import FeedBack, EquipmentOTA, EquipmentInfo, AdminManage, AppIn
     AppSetController, \
     ApplicationController, UserExController, CloudStorage, TestApi, UserBrandControllerV2, \
     StatisticsController, Alexa, FAQController, AppLogController, EquipmentVersionLimit, VoicePromptController, \
-    DeviceTypeController
-from Controller.DeviceTypeController import DeviceTypeView
+    CDKController, DeviceTypeController
 from Controller.VoicePromptController import VoicePromptView
 
 urlpatterns = [
@@ -180,7 +179,8 @@ urlpatterns = [
     url(r'^oauth/unbunding', UserController.UnbundingWXView.as_view()),
 
     # 删除云存视频
-    path('cv/del', CloudVod.deleteVodHls),
+    # path('cv/del', CloudVod.deleteVodHls),
+    path('cv/del', CloudStorage.deleteVodHls),
     url(r'^equipment/judge', EquipmentManager.judgeInterface),
 
     # ap模式,新增设备表
@@ -251,6 +251,9 @@ urlpatterns = [
     # 设备类型
     url(r'^deviceType/(?P<operation>.*)$', DeviceTypeController.DeviceTypeView.as_view()),
 
+    # cdk(激活码)
+    url(r'^cdk/(?P<operation>.*)$', CDKController.CDKView.as_view()),
+
     # app 设备消息模板
     # 路由加参数参考
     # url(r'^(?P<path>.*)/(?P<UID>.*)/lls$', Test.Test.as_view(), name=u'gg'),