소스 검색

把代码复原

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("测试成功!")