This commit is contained in:
aqu415
2022-02-12 21:37:49 +08:00
parent d11f9e0591
commit b70416b5d8
6 changed files with 23 additions and 5 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ from django.urls import path
from server.views import *
urlpatterns = [
path('list', list),
path('', list),
path('detail', detail),
path('jsmind_op', JsMindCallbackView.as_view()),
]
+2 -2
View File
@@ -10,14 +10,14 @@ def list(request):
"""
列表界面
"""
return render(request, "list.html")
return render(request, "html/list.html")
def detail(request):
"""
详情页面
"""
return render(request, "detail.html")
return render(request, "html/detail.html")
class JsMindLogView(GenericAPIView):