此API提供AugmentCode注册过程中所需的功能
GET /api/check-license?key=YOUR_LICENSE_KEY
验证卡密是否有效
返回格式: { success: boolean, message: string, email?: string }
GET /api/get-email?key=YOUR_LICENSE_KEY
获取邮箱地址 (如果当天已有记录则返回已有邮箱,否则生成新邮箱)
返回格式: { success: true, email: string, message: string, isNewEmail: boolean }
GET /api/get-code?key=YOUR_LICENSE_KEY&email=EMAIL_ADDRESS
获取指定邮箱中的最新验证码,带有重试机制
返回格式: { success: boolean, code?: string, attempt?: number, message?: string, email: string }
关注公众号「code 未来」获取更多技术资源