POST api/V5/WeChatAppletLoginByUnionId?code={code}&type={type}

微信小程序登录

Request Information

URI Parameters

NameDescriptionTypeAdditional information
code

string

Required

type

小程序类型 1 计调小程序 2 用户小程序

integer

Default value is 1

Body Parameters

None.

Response Information

Resource Description

微信小程序登录

CommonOperationResultWithTagOfObject
NameDescriptionTypeAdditional information
errcode

integer

None.

errmsg

string

None.

tag

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "errcode": 1,
  "errmsg": "sample string 2",
  "tag": {}
}

application/xml, text/xml

Sample:
<CommonOperationResultWithTagOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer">
  <errcode>1</errcode>
  <errmsg>sample string 2</errmsg>
  <tag />
</CommonOperationResultWithTagOfanyType>