瀏覽代碼

把代码复原

chanjunkai 5 年之前
父節點
當前提交
af030c4ebd
共有 2 個文件被更改,包括 1 次插入6 次删除
  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("测试成功!")