Recruitment_site/offer_backend/apps
TianyangZhang 12697c5750 feat: 登入页面支持求职者和管理员两种角色
前端改动:
- LoginView.vue 添加角色选择(求职者/管理员)
- 求职者使用邮箱验证码登入
- 管理员使用用户名密码登入
- 两种方式在同一页面,通过角色选项卡切换

后端改动:
- CustomTokenObtainPairView 改为支持两种登入方式
- 若提供 email+code 则使用邮箱验证码登入
- 若提供 username+password 则使用用户名密码登入

设计:
- 求职者可自助注册和邮箱验证码登入
- 管理员由 superadmin 创建,使用用户名密码登入
- 两种登入都返回同样的 JWT token

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-25 15:59:30 +08:00
..
accounts feat: 登入页面支持求职者和管理员两种角色 2026-03-25 15:59:30 +08:00
applications refactor: 调整岗位、应用等模块,适配三栏设计 2026-03-25 13:13:09 +08:00
jobs refactor: 调整岗位、应用等模块,适配三栏设计 2026-03-25 13:13:09 +08:00
organizations feat(backend): 组织序列化器添加在招岗位数统计 2026-03-25 13:12:43 +08:00
resumes feat: add Resume model with JSONB fields and file upload 2026-03-24 17:43:24 +08:00
__init__.py feat: add custom User model with role-based permissions 2026-03-24 17:11:40 +08:00