+++
get:/code/send/:phone
*:phone=13814510318#手机号码
<<<
success
{
"success": true,
"data": {
"code": "871597",
"phone": "13814510318",
"message": "验证码发送成功"
}
}
<<<
error
{
"success": false,
"data": {
"name": "Unauthorized",
"message": "验证码发送失败",
"code": 0,
"status": 401,
"type": "yii\\web\\HttpException"
}
}
+++
### header头信息:
| 参数名 | 参数值 |
| --- | --- |
| Accept | application/json |
| DeviceId | 310995000000000|
| Sign | e67ce2f83ca715552c7040c6801e020f |
### 说明:
1.手机验证码针对手机号码
2.短信有效期为 1800秒
3.发送速率为60秒内最多两次