This commit is contained in:
chenyang
2022-06-30 16:48:42 +08:00
parent 03b914a0f0
commit c7cc3cc5c4
6 changed files with 44 additions and 10 deletions
+10 -2
View File
@@ -1,17 +1,25 @@
from django.urls import path
from server.views import *
from server.views.mind_map import *
from server.views.user import *
from server.view_test import *
urlpatterns = [
# ---------------------------------------------------
path('test', test), #
# ---------------------------------------------------
path('', to_list), # 跳转列表界面
path('detail', to_detail), # 跳转详情界面
path('dashboard', to_dashboard), #
# ---------------------------------------------------
path('create', JsMindView.as_view()), # 创建思维导图
path('delete', JsMindView.as_view()), # 删除思维导图
path('list', JsMindView.as_view()), # 查询思维导图
path(r'jsmind_op', JsMindLogView.as_view()), # 更新快照,get日志
path('test', test), #
# ---------------------------------------------------
path('register', MindUserView.as_view()), # 用户注册
]