[关闭]
@big-bear 2017-09-08T03:45:21.000000Z 字数 357 阅读 866

重置密码

云宝 api


model ResetPassword

  1. String mobile; //手机号
  2. Integer code; //验证码
  3. String password; //密码
  4. String type; //类型

409错误码

意义 备注
0 请求信息不完整
1 该手机号没有找到绑定用户
2 手机验证码验证失败

所有操作走save方法

发送验证码

参数

名称 含义 类型 备注
mobile 手机号 string
type 类型 string sendResetCode

包含错误码

0,1

校验验证码

参数

名称 含义 类型 备注
mobile 手机号 string
code 验证码 int
type 类型 string checkCode

包含错误码

0,2

重置密码

参数

名称 含义 类型 备注
mobile 手机号 string
password 密码 string
type 类型 string resetPassword

包含错误码

0

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注