UserApi.sendPasswordResetEmail
若返回参数中含参数 captcha_token
和 captcha_image
,表示下次调用该接口时,需要用户输入图形验证码,
并把 captcha_token
和 captcha_code
参数传递到服务端。
方法定义
UserApi.sendPasswordResetEmail(param: SendPasswordResetEmailParams): Promise<EmptyResponse>
参数
SendPasswordResetEmailParams UserApi.ts:580
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
captcha_code | 否 | string | 图形验证码的值。若上一次请求返回了 |
captcha_token | 否 | string | 图形验证码token。若上一次请求返回了 |
email | 是 | string | 邮箱 |
响应
EmptyResponse models.ts:421
参数名 | 类型 | 说明 |
---|---|---|
code | number | 无任何错误时,状态码为 0 |
data | null | 该字段为 |