chanjunkai před 5 roky
rodič
revize
af030c4ebd
2 změnil soubory, kde provedl 1 přidání a 6 odebrání
  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("测试成功!")