POST api/PersonAPI/WebUserLogin

前台Ajax登陆 微信小程序

Request Information

URI Parameters

None.

Body Parameters

user
NameDescriptionTypeAdditional information
logintype

登录类型 1=账号密码登录 2=微信绑定手机号登录

integer

None.

encryptedData

string

None.

iv

string

None.

code

用户登录注册凭证code

string

None.

phone

手机号

string

None.

name

string

None.

pass

string

None.

Request Formats

application/json, text/json

Sample:
{
  "logintype": 1,
  "encryptedData": "sample string 2",
  "iv": "sample string 3",
  "code": "sample string 4",
  "phone": "sample string 5",
  "name": "sample string 6",
  "pass": "sample string 7"
}

application/xml, text/xml

Sample:
<ApiHelper.user xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AppApi.Models">
  <code>sample string 4</code>
  <encryptedData>sample string 2</encryptedData>
  <iv>sample string 3</iv>
  <logintype>1</logintype>
  <name>sample string 6</name>
  <pass>sample string 7</pass>
  <phone>sample string 5</phone>
</ApiHelper.user>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.