POST api/Sys/ValidateCode?mobile={mobile}&code={code}&validateType={validateType}

手机验证码验证,

Request Information

URI Parameters

NameDescriptionTypeAdditional information
mobile

手机号码

string

Required

code

验证码

string

Required

validateType

验证场景:0=注册;1=找回密码,

integer

Required

Body Parameters

None.

Response Information

Resource Description

RequestResult
NameDescriptionTypeAdditional information
ResultCode

integer

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "ResultCode": 1,
  "Message": "sample string 2",
  "Data": {}
}

text/html

Sample:
{"ResultCode":1,"Message":"sample string 2","Data":{}}

application/xml, text/xml

Sample:
<RequestResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MF.Common">
  <Data />
  <Message>sample string 2</Message>
  <ResultCode>1</ResultCode>
</RequestResult>