运营商服务能力对接,需要用户绑定手机号码发送验证码短信,此api用于验证用户输入的验证码
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| phone | String | 必须 | 18888888888 | 手机号 | |
| auth_code | String | 必须 | 222222 | 验证码 |
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| success | Boolean | true | 是否成功 |
| error_code | String | 00000 | 错误码 |
| error_message | String | 验证码错误 | 错误描述 |
{"phone":"18888888888","auth_code":"222222"}
{
"success":true,
"error_code":"00000",
"error_message":"验证码错误"
}
{"error_message":"Illegal request","success":"不等于true","error_code":"sign-check-failure"}
| 错误码 | 错误描述 | 解决方案 |
|---|