POST api/User/EditUser?userId={userId}&userName={userName}&NickName={NickName}&Sex={Sex}&Address={Address}&Introduce={Introduce}&Birthday={Birthday}&Email={Email}&BlogAccount={BlogAccount}&QQ={QQ}
修改用户信息
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userId |
用户Id |
string |
Required |
| userName |
用户名 |
string |
Required |
| NickName |
昵称 |
string |
Default value is |
| Sex |
性别 |
string |
Default value is |
| Address |
地址 |
string |
Default value is |
| Introduce |
介绍信息 |
string |
Default value is |
| Birthday |
生日 |
string |
Default value is |
|
邮件 |
string |
Default value is |
|
| BlogAccount |
博客 |
string |
Default value is |
|
QQ账号 |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
通用报文响应结果{ Success: bool , Code: int , Error: string , Result:string } Success: 是否执行成功. 成功为 true Code: 错误代码. 1 执行成功 , 0, 没有处理 , < 执行失败 Error: 错误消息. Result: 如果有结果,结果保存在此字段中
JResultOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | integer |
None. |
|
| Error | string |
None. |
|
| Result | string |
None. |
|
| Success | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 1,
"Error": "sample string 2",
"Result": "sample string 3",
"Success": true
}