seaislee1209 b520b429c5
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m22s
feat: 密码管理 + 错误提示体系统一 (v0.9.2 & v0.9.3)
密码管理:用户自助修改密码(个人中心弹窗)、管理员重置用户密码(审计日志记录)
错误提示:补全火山 ARK 错误码映射(+7 个)、修复创建失败时前端不显示真实错误、
轮询失败走 ERROR_MESSAGES 映射、前端 catch 统一取后端 message

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-16 17:12:40 +08:00

13 lines
440 B
Python

from django.urls import path
from rest_framework_simplejwt.views import TokenRefreshView
from . import views
urlpatterns = [
path('register', views.register_view, name='register'),
path('login', views.login_view, name='login'),
path('token/refresh', TokenRefreshView.as_view(), name='token_refresh'),
path('me', views.me_view, name='me'),
path('change-password', views.change_password_view, name='change_password'),
]