Explorar el Código

Merge branch 'LocalWyp'

# Conflicts:
#	AnsjerPush/urls.py
chanjunkai hace 5 años
padre
commit
a877971ea5
Se han modificado 2 ficheros con 6 adiciones y 1 borrados
  1. 1 1
      AnsjerPush/urls.py
  2. 5 0
      Controller/testController.py

+ 1 - 1
AnsjerPush/urls.py

@@ -15,7 +15,7 @@ Including another URLconf
 """
 from django.contrib import admin
 from django.urls import path
-from Controller import DetectController,ShadowController
+from Controller import DetectController,ShadowController,testController
 
 
 urlpatterns = [

+ 5 - 0
Controller/testController.py

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