Recruitment_site/offer_frontend
TianyangZhang 99220b6daf feat: 改为邮箱验证码注册,注册完成后自动登入
后端改动:
- RegisterSerializer 改为接收用户名+邮箱+手机号+验证码
- 验证邮箱是否已存在、用户名是否已存在
- 验证验证码有效性和正确性
- RegisterView 返回 JWT token,实现自动登入

前端改动:
- RegisterView.vue 改为邮箱验证码注册流程
- 保留用户名、邮箱、手机号字段
- 获取验证码后输入验证码完成注册
- 注册成功后自动保存 token 并跳转到首页

流程:用户名+邮箱+手机号 → 获取验证码 → 输入验证码 → 注册完成并自动登入 → 跳转首页

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-25 15:51:03 +08:00
..
.vscode feat: initialize Vue3 frontend with router, pinia, element-plus 2026-03-25 08:37:09 +08:00
public feat: initialize Vue3 frontend with router, pinia, element-plus 2026-03-25 08:37:09 +08:00
src feat: 改为邮箱验证码注册,注册完成后自动登入 2026-03-25 15:51:03 +08:00
.gitignore feat: initialize Vue3 frontend with router, pinia, element-plus 2026-03-25 08:37:09 +08:00
README.md feat: initialize Vue3 frontend with router, pinia, element-plus 2026-03-25 08:37:09 +08:00
index.html feat: initialize Vue3 frontend with router, pinia, element-plus 2026-03-25 08:37:09 +08:00
package-lock.json feat: initialize Vue3 frontend with router, pinia, element-plus 2026-03-25 08:37:09 +08:00
package.json feat: initialize Vue3 frontend with router, pinia, element-plus 2026-03-25 08:37:09 +08:00
vite.config.js refactor: 调整岗位、应用等模块,适配三栏设计 2026-03-25 13:13:09 +08:00

README.md

Vue 3 + Vite

This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.

Learn more about IDE Support for Vue in the Vue Docs Scaling up Guide.