POST api/Login/MemberBindOrRegister

会员微信小程序自动登录绑定手机号或注册

Request Information

URI Parameters

None.

Body Parameters

LoginUserParamter
NameDescriptionTypeAdditional information
nickName

会员昵称

string

None.

avatarUrl

头像地址

string

None.

gender

会员性别

integer

None.

InviteCode

邀请码

string

None.

Token

登录验证token

string

None.

OpenId

微信的OpenId

string

None.

Unionid

开放平台账号关联的UnionID

string

None.

Mobile

手机号

string

None.

PassWord

登录密码

string

None.

VerifyCode

验证码

string

None.

IdentityType

操作的身份值 1-客户 2-专家

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "nickName": "sample string 1",
  "avatarUrl": "sample string 2",
  "gender": 3,
  "InviteCode": "sample string 4",
  "Token": "sample string 5",
  "OpenId": "sample string 6",
  "Unionid": "sample string 7",
  "Mobile": "sample string 8",
  "PassWord": "sample string 9",
  "VerifyCode": "sample string 10",
  "IdentityType": 11
}

application/xml, text/xml

Sample:
<LoginUserParamter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeiXin.WebAPI.Models.LoginModels">
  <IdentityType>11</IdentityType>
  <Mobile>sample string 8</Mobile>
  <OpenId>sample string 6</OpenId>
  <PassWord>sample string 9</PassWord>
  <Token>sample string 5</Token>
  <Unionid>sample string 7</Unionid>
  <VerifyCode>sample string 10</VerifyCode>
  <InviteCode>sample string 4</InviteCode>
  <avatarUrl>sample string 2</avatarUrl>
  <gender>3</gender>
  <nickName>sample string 1</nickName>
</LoginUserParamter>

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

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.