POST api/Login/MemberLogin

会员微信小程序自动登录方式

Request Information

URI Parameters

None.

Body Parameters

WxLoginParameter
NameDescriptionTypeAdditional information
iv

微信登录请求返回的iv

string

None.

code

微信登录请求返回的code

string

None.

encryptedData

微信登录请求返回的json

string

None.

Request Formats

application/json, text/json

Sample:
{
  "iv": "sample string 1",
  "code": "sample string 2",
  "encryptedData": "sample string 3"
}

application/xml, text/xml

Sample:
<WxLoginParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeiXin.WebAPI.Models.LoginModels">
  <code>sample string 2</code>
  <encryptedData>sample string 3</encryptedData>
  <iv>sample string 1</iv>
</WxLoginParameter>

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 'WxLoginParameter'.

Response Information

Resource Description

会员微信小程序自动登录方式

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.