+++
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秒內最多兩次