Files
xingrin/backend/apps/common/urls.py
2025-12-12 18:04:57 +08:00

13 lines
432 B
Python

"""
通用模块 URL 配置
"""
from django.urls import path
from .views import LoginView, LogoutView, MeView, ChangePasswordView
urlpatterns = [
path('auth/login/', LoginView.as_view(), name='auth-login'),
path('auth/logout/', LogoutView.as_view(), name='auth-logout'),
path('auth/me/', MeView.as_view(), name='auth-me'),
path('auth/change-password/', ChangePasswordView.as_view(), name='auth-change-password'),
]