POST api/RealName/SendPhoneCaptcha
發送驗證碼並取得上次發送的時間(若距離上次發送的時間不到一分鐘則不發送。)
Request Information
URI Parameters
None.
Body Parameters
SendPhoneCaptchaInputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| state | string |
None. |
|
| phone | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"state": "sample string 1",
"phone": "sample string 2"
}
text/html
Sample:
{"state":"sample string 1","phone":"sample string 2"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
發送驗證碼並取得上次發送的時間(若距離上次發送的時間不到一分鐘則不發送。)
SendPhoneCaptchaOutputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| status |
0:系統錯誤 1:發送成功 |
integer |
None. |
| Captcha | string |
None. |
|
| message | string |
None. |
|
| lastTimeSend | string |
None. |
|
| ticketVerified |
驗證是否通過 |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": 1,
"Captcha": "sample string 2",
"message": "sample string 3",
"lastTimeSend": "sample string 4",
"ticketVerified": true
}
text/html
Sample:
{"status":1,"Captcha":"sample string 2","message":"sample string 3","lastTimeSend":"sample string 4","ticketVerified":true}