跳到主要内容

auth.mail.sendcode

发送邮件验证码

  • 请求路由: auth.mail.sendcode
  • 交互模型: Request Response
  • 访问限制: 无

向指定邮箱发送登录验证码。

请求​

RSocket.rr({
"route" : "auth.mail.sendcode",
"data" : {
"email" : "user@example.com",
"scope" : "shop",
"captchaKey" : "2392ba011cbc4e9888f546cbfa20694f",
"captchaCode" : "baayz"
}
});

请求参数​

名称类型必须说明
emailString是EMail 地址
scopeString是应用Scope
titleString否邮件标题
contentString否邮件内容
使用表达式 %s 作为验证码的占位符。
captchaKeyString否图形验证码标识
captchaCodeString否读图得到的验证码

返回​

true

true