service:更新登录业务服务支持邮箱验证

- 添加发送邮箱验证码服务方法
- 添加验证邮箱验证码服务方法
- 添加重新发送邮箱验证码服务方法
- 集成验证码服务和邮件服务
- 更新相关的单元测试
This commit is contained in:
moyin
2025-12-17 20:22:10 +08:00
parent 8436fb10b8
commit c2ddb67b3e
2 changed files with 103 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ describe('LoginService', () => {
github_id: null as string | null,
avatar_url: null as string | null,
role: 1,
email_verified: false,
created_at: new Date(),
updated_at: new Date()
};