Quellcode durchsuchen

把代码复原

chanjunkai vor 5 Jahren
Ursprung
Commit
af030c4ebd
2 geänderte Dateien mit 1 neuen und 6 gelöschten Zeilen
  1. 1 1
      AnsjerPush/urls.py
  2. 0 5
      Controller/testController.py

+ 1 - 1
AnsjerPush/urls.py

@@ -23,5 +23,5 @@ urlpatterns = [
     path('notify/push', DetectController.NotificationView.as_view()),
     path('deviceShadow/update', ShadowController.update_device_shadow),
     path('deviceShadow/generateUTK', ShadowController.generate_utk),
-    path('testtest/',testController.index)
+    
 ]

+ 0 - 5
Controller/testController.py

@@ -1,5 +0,0 @@
-from django.http import HttpResponse
-
-
-def index(request):
-    return HttpResponse("测试成功!")