feat: add profile api

This commit is contained in:
2026-06-08 17:36:03 +08:00
parent ba9fb33062
commit 2b86c91edd
9 changed files with 452 additions and 4 deletions
+4
View File
@@ -19,6 +19,10 @@ urlpatterns = [
path('', include(router.urls)),
# 移动端机构列表(不分页,登录前可调用)
path('institution_list/', views.institution_list, name='institution-list'),
# 移动端配置页(登录后):机构信息 / 所属机构科室列表 / 学生信息配置
path('institution_info/', views.institution_info, name='institution-info'),
path('my_departments/', views.my_departments, name='my-departments'),
path('profile/config/', views.student_profile_config, name='student-profile-config'),
# 认证相关
path('auth/send-code/', send_code, name='send-code'),
path('auth/register/', register, name='register'),