POST api/User/editUserInfo
修改用户信息
Request Information
URI Parameters
None.
Body Parameters
editUserInfoPost| Name | Description | Type | Additional information |
|---|---|---|---|
| headimgid | integer |
None. |
|
| nickname | string |
None. |
|
| tel | string |
None. |
|
| uid |
账号id |
integer |
None. |
| token |
token |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"headimgid": 1,
"nickname": "sample string 1",
"tel": "sample string 2",
"uid": 3,
"token": "sample string 4"
}
application/xml, text/xml
Sample:
<editUserInfoPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LyWebApi.Controllers"> <token xmlns="http://schemas.datacontract.org/2004/07/LyWebApi.Models">sample string 4</token> <uid xmlns="http://schemas.datacontract.org/2004/07/LyWebApi.Models">3</uid> <headimgid>1</headimgid> <nickname>sample string 1</nickname> <tel>sample string 2</tel> </editUserInfoPost>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BaseResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | integer |
None. |
|
| Msg | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 1,
"Msg": "sample string 2"
}
application/xml, text/xml
Sample:
<BaseResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LyWebApi.Models"> <Code>1</Code> <Msg>sample string 2</Msg> </BaseResult>