接口名称 |
通过手机修改密码H5
签名
web domain
|
地址 |
https://api.cnlive.com/open/api2/user/updatePwdByMobile4H5 |
method |
post |
返回数据 |
json
|
请求参数说明:
参数 |
必选 |
类型 |
说明 |
appId |
true |
string |
应用ID |
countryCode |
true |
string |
国家代码 |
mobile |
true |
string |
手机号 |
verificationCode |
true |
string |
手机验证码 |
newPwd |
true |
string |
新密码 |
clientPlat |
true |
string |
客户端平台[i:IOS客户端,a:Android客户端, w: 网页] |
sign |
true |
string |
签名 |
返回格式说明:
{
"errorCode":"0",
"errorMessage":"成功"
}
{
"errorCode":"1",
"errorMessage":"请求参数无效"
}
{
"errorCode":"41010",
"errorMessage":"手机号无效"
}
{
"errorCode": "41002",
"errorMessage": "验证码为6位数字"
}
{
"errorCode": "41004",
"errorMessage": "密码为6-20位字母或数字"
}
{
"errorCode": "41051",
"errorMessage": "密码不可与账号相同"
}
{
"errorCode": "41052",
"errorMessage": "密码不可为连续的字符串"
}
{
"errorCode": "41053",
"errorMessage": "密码不可为连续相同的字符串"
}
{
"errorCode": "41009",
"errorMessage": "验证码错误"
}
{
"errorCode":"41011",
"errorMessage":"该手机号未注册"
}
{
"errorCode":"40005",
"errorMessage":"其他错误"
}