POST api/users/bindphone
用户绑定手机
Request Information
URI Parameters
None.
Body Parameters
UserBindPhoneModel| Name | Description | Type | Additional information |
|---|---|---|---|
| token | string |
None. |
|
| phonecode | string |
None. |
|
| phone | string |
None. |
|
| uid | string |
None. |
|
| from |
如果是微实过来的话要通过手机号判断是否已经存在微实绑定的手机号from="1" |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"token": "sample string 1",
"phonecode": "sample string 2",
"phone": "sample string 3",
"uid": "sample string 4",
"from": "sample string 5"
}
application/xml, text/xml
Sample:
<UserBindPhoneModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeQuan.WebAPI.Models"> <from>sample string 5</from> <phone>sample string 3</phone> <phonecode>sample string 2</phonecode> <token>sample string 1</token> <uid>sample string 4</uid> </UserBindPhoneModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.