POST api/Login/VerifyPhoneCaptcha
驗證手機號碼,通過驗證的手機號碼(每十分鐘會清除一次,必須重新驗證。)
Request Information
URI Parameters
None.
Body Parameters
VerifyPhoneCaptcha_Input| Name | Description | Type | Additional information |
|---|---|---|---|
| phone |
手機號碼 |
string |
Required |
| captcha |
驗證碼 |
string |
Required |
| Ticket |
身份票據 |
string |
Required |
Request Formats
application/json, text/json
Sample:
{
"phone": "sample string 1",
"captcha": "sample string 2",
"Ticket": "sample string 3"
}
text/html
Sample:
{"phone":"sample string 1","captcha":"sample string 2","Ticket":"sample string 3"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
驗證手機號碼,通過驗證的手機號碼(每十分鐘會清除一次,必須重新驗證。)
VerifyPhoneCaptcha_Output| Name | Description | Type | Additional information |
|---|---|---|---|
| status |
是否有驗證成功 0:系統錯誤 1:驗證成功 2:驗證失敗,手機號碼未取得過驗證碼或驗證碼已失效。 |
integer |
None. |
| ticketVerified |
驗證是否通過 |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": 1,
"ticketVerified": true
}
text/html
Sample:
{"status":1,"ticketVerified":true}