POST api/User/BindWx

绑定微信

Request Information

URI Parameters

None.

Body Parameters

WXLoginParam
NameDescriptionTypeAdditional information
accessToken

微信 AccessToken

string

None.

openId

微信openid

string

None.

source

来源 0 安卓app 1 ios app

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "accessToken": "sample string 1",
  "openId": "sample string 2",
  "source": 3
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

绑定微信

ApiResultModel
NameDescriptionTypeAdditional information
code

0:正确 100:错误 403:需要重新登录

integer

None.

msg

string

None.

submsg

输出的错误信息

string

None.

isinvitation

登陆时候是否需要弹窗填些邀请码 1:需要

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "msg": "sample string 2",
  "submsg": "sample string 3",
  "isinvitation": 4
}