POST api/YunyingV770/HelperBindAccount
助力者绑定账号
Request Information
URI Parameters
None.
Body Parameters
ZaiMieApp.WebApi.ViewModel.YunyingShareUser| Name | Description | Type | Additional information |
|---|---|---|---|
| openid |
微信openid |
string |
None. |
| nickname |
昵称 |
string |
None. |
| avatar |
头像 |
string |
None. |
| phone |
手机号 |
string |
None. |
| code | string |
None. |
|
| access_token | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"openid": "sample string 1",
"nickname": "sample string 2",
"avatar": "sample string 3",
"phone": "sample string 4",
"code": "sample string 5",
"access_token": "sample string 6"
}
application/xml, text/xml
Sample:
<YunyingShareUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZaiMieApp.WebApi.ViewModel"> <access_token>sample string 6</access_token> <avatar>sample string 3</avatar> <code>sample string 5</code> <nickname>sample string 2</nickname> <openid>sample string 1</openid> <phone>sample string 4</phone> </YunyingShareUser>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ZaiMieApp.WebApi.ViewModel.ResultMsg| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| code | integer |
None. |
|
| addcoin |
赠送的金币 |
integer |
None. |
| message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"code": 2,
"addcoin": 3,
"message": "sample string 4"
}
application/xml, text/xml
Sample:
<ResultMsg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZaiMieApp.WebApi.ViewModel"> <addcoin>3</addcoin> <code>2</code> <message>sample string 4</message> <success>true</success> </ResultMsg>