feat: Implement Codex proxy configuration page with CRUD and testing capabilities, supported by new backend API and services for error handling, team processing, mail, and ChatGPT registration.

This commit is contained in:
2026-02-03 04:33:37 +08:00
parent f867e20c0e
commit 637753ddaa
5 changed files with 248 additions and 216 deletions

View File

@@ -344,9 +344,9 @@ func APIRegister(email, password, realName, birthdate, proxy string, logPrefix s
return nil, fmt.Errorf("发送验证邮件失败: %v", err)
}
// 获取验证码 (带超时 90s) - 合并日志,使用 Status 显示等待状态
// 获取验证码 (带超时 60s) - 合并日志,使用 Status 显示等待状态
logger.Status(fmt.Sprintf("%s 验证邮箱中...", logPrefix), email, "register")
otpCode, err := mail.GetVerificationCode(email, 90*time.Second)
otpCode, err := mail.GetVerificationCode(email, 60*time.Second)
if err != nil {
return nil, err
}