POST api/User/EditUserInfo?UserID={UserID}&Flag={Flag}&Value={Value}
编辑用户信息--针对NickName、Gender、Birth、Height、Weight单个逐一更改
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID |
用户ID |
string |
Required |
| Flag |
信息类别,可以为NickName、Gender、Birth、Height、Weight,只能单个逐一更改 |
string |
Required |
| Value |
更改值 |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
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
}