POST api/Sms/getsmscode

小程序获取短信验证码

Request Information

URI Parameters

None.

Body Parameters

SmsCodeModel
NameDescriptionTypeAdditional information
Phone

手机号

string

None.

Type

短信发知类型1:为登录验证码;2:注册验证码;9:其它

integer

None.

Capture

验证码

string

None.

smscode

短信验证码

string

None.

Content

string

None.

Action

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Phone": "sample string 1",
  "Type": 2,
  "Capture": "sample string 3",
  "smscode": "sample string 4",
  "Content": "sample string 5",
  "Action": "sample string 6"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SmsCodeModel'.

Response Information

Resource Description

小程序获取短信验证码

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.