GET api/weChat/login?code={code}

微信登录返回

Request Information

URI Parameters

None.

Response Information

Resource Description

RepParamrep
NameDescriptionTypeAdditional information
session_key

string

None.

openid

string

None.

Response Formats

application/json, text/json

Sample:
{
  "session_key": "sample string 1",
  "openid": "sample string 2"
}

application/xml, text/xml

Sample:
<RepParamrep xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.OpenApi.Models.ResponseModels">
  <openid>sample string 2</openid>
  <session_key>sample string 1</session_key>
</RepParamrep>