mirror of
https://github.com/hequan2017/seal.git
synced 2026-05-04 20:51:20 +08:00
1
1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from django.urls import path
|
||||
from system.views import login_view, UserPasswordUpdateView, logout_view, UserInfo, UserLogout,MockMenu
|
||||
from system.views import login_view, UserPasswordUpdateView, logout_view, UserInfo, UserLogout,Menu
|
||||
|
||||
app_name = "system"
|
||||
|
||||
@@ -11,5 +11,5 @@ urlpatterns = [
|
||||
|
||||
path('api/user_info', UserInfo.as_view()),
|
||||
path('api/logout', UserLogout.as_view()),
|
||||
path('mock_menu',MockMenu.as_view())
|
||||
path('menu',Menu.as_view())
|
||||
]
|
||||
|
||||
@@ -55,7 +55,7 @@ class UserLogout(APIView):
|
||||
return HttpResponse(json.dumps(result))
|
||||
|
||||
|
||||
class MockMenu(APIView):
|
||||
class Menu(APIView):
|
||||
|
||||
def post(self, request):
|
||||
result = [
|
||||
|
||||
Reference in New Issue
Block a user