V1/login/email locate password
来自技术开发小组内部wiki
目录
功能说明
用户邮箱找回密码(修改密码)接口
本接口是全平台通用的,即发送请求后,可根据请求中传入的"email"平台参数返回发送状态。
URL
正式环境 http://api.fumubang.com/v1/login/email_locate_password 测试环境 http://api.fumubang.net/v1/login/email_locate_password
格式
json
HTTP请求方式
POST
输入参数说明
phone_num
参数名称 | 是否必须 | 类型 | 描述 |
---|---|---|---|
必须 | string | 以json格式POST传入,用户输入的邮箱 |
请求示例
http://api.fumubang.com/v1/login/email_locate_password
openid=xxxxxxx 父母邦分配
openkey=xxxxxxxx 父母邦分配
email = xxxxxx 用户输入邮箱
参数用POST方式提交
返回方式说明
xml或json
正确返回说明
<status>success</status>
错误返回示例
参数不全
<error_code>300000</error_code>
<error_msg>参数不全</error_msg>
邮箱格式不正确
<error_code>300001</error_code>
<error_msg>邮箱格式不正确</error_msg>
邮箱未注册
<error_code>300002</error_code>
<error_msg>邮箱未注册</error_msg>
随机码插入失败
<error_code>300003</error_code>
<error_msg>随机码插入失败</error_msg>
找回密码失败
<error_code>300004</error_code>
<error_msg>找回密码失败</error_msg>