feat: update personal stats and cms change reuqest method
This commit is contained in:
@@ -7,6 +7,7 @@ from .auth.login import login_password, login_code
|
||||
from .auth.logout import logout
|
||||
from .auth.refresh import refresh_token
|
||||
from .auth.reset_password import reset_password
|
||||
from .stats import competency_metrics, training_records, analysis
|
||||
|
||||
router = DefaultRouter()
|
||||
router.register(r'users', views.UserViewSet, basename='user')
|
||||
@@ -25,6 +26,10 @@ urlpatterns = [
|
||||
path('profile/config/', views.student_profile_config, name='student-profile-config'),
|
||||
# 移动端个人中心:个人信息获取(GET) / 更新(PATCH)
|
||||
path('profile/', views.profile, name='profile'),
|
||||
# 移动端个人中心 - 训练统计 / 智能分析(读 fastapi 只读训练表)
|
||||
path('competency-metrics/', competency_metrics, name='competency-metrics'),
|
||||
path('training-records/', training_records, name='training-records'),
|
||||
path('analysis/', analysis, name='analysis'),
|
||||
# 认证相关
|
||||
path('auth/send-code/', send_code, name='send-code'),
|
||||
path('auth/register/', register, name='register'),
|
||||
|
||||
Reference in New Issue
Block a user