POST api/wechat/bindopenid
绑定openid
Request Information
URI Parameters
None.
Body Parameters
WeChatModelName | Description | Type | Additional information |
---|---|---|---|
openid | string |
None. |
|
loginname | string |
None. |
|
loginpwd | string |
None. |
|
usertype | UserType |
None. |
Request Formats
application/json, text/json
Sample:
{ "openid": "sample string 1", "loginname": "sample string 2", "loginpwd": "sample string 3", "usertype": 0 }
text/html
Sample:
{"openid":"sample string 1","loginname":"sample string 2","loginpwd":"sample string 3","usertype":0}
application/xml, text/xml
Sample:
<WeChatModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Common"> <loginname>sample string 2</loginname> <loginpwd>sample string 3</loginpwd> <openid>sample string 1</openid> <usertype>Any</usertype> </WeChatModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
绑定openid
JsonRtnDtoOfLoginUserName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | LoginUser |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "SK": "sample string 1", "MemberId": "sample string 2", "MemberType": 3, "UserInfo": {} } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"SK":"sample string 1","MemberId":"sample string 2","MemberType":3,"UserInfo":{}}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfLoginUserxitsIxUm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJ.Common"> <d2p1:MemberId>sample string 2</d2p1:MemberId> <d2p1:MemberType>3</d2p1:MemberType> <d2p1:SK>sample string 1</d2p1:SK> <d2p1:UserInfo /> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfLoginUserxitsIxUm>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"SK":"sample string 1","MemberId":"sample string 2","MemberType":3,"UserInfo":{}}});