mirror of
https://github.com/hequan2017/seal.git
synced 2026-04-26 03:31:45 +08:00
0.2.2 完善 api 登录 退出
0.2.2 完善 api 登录 退出
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from django.urls import path
|
||||
from system.views import login_view, UserPasswordUpdateView, logout_view, GetInfo
|
||||
from system.views import login_view, UserPasswordUpdateView, logout_view, UserInfo
|
||||
|
||||
app_name = "system"
|
||||
|
||||
@@ -7,5 +7,8 @@ urlpatterns = [
|
||||
path('login', login_view, name="login"),
|
||||
path('password_update', UserPasswordUpdateView.as_view(), name="password_update"),
|
||||
path('logout', logout_view, name="logout"),
|
||||
path('get_info', GetInfo.as_view()),
|
||||
|
||||
|
||||
path('api/user_info', UserInfo.as_view()),
|
||||
path('api/logout', UserInfo.as_view())
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user