Update User Info Ex
Brief Description
- Modify user's avatar and nickname. (If you use this interface, please use updateUserInfoExBefore and updateUserInfoExAfter).
Request Method
POST
Request URL
http://x.x.x.x:10002/user/update_user_info_ex
Header
Header Name | Example Value | Required | Type | Description |
---|---|---|---|---|
operationID | 1646445464564 | Required | string | operationID for global traceability |
token | eyJhbxxxx3Xs | Required | string | Admin token |
Request Parameters Example
{
"userInfo": {
"userID": "2",
"nickname": "alantestuid3",
"faceURL": "1111111",
"ex": "123"
}
}
Field Name | Required | Type | Description |
---|---|---|---|
userInfo | Required | object | User information |
userInfo.userID | Required | string | User ID |
userInfo.nickname | Optional | string | User nickname |
userInfo.faceURL | Optional | string | User avatar |
ex | Optional | string | Extension field |
Success Response Example
{
"errCode": 0,
"errMsg": "",
"errDlt": ""
}
Success Response Parameters Explanation
Parameter Name | Type | Description |
---|---|---|
errCode | int | Error code, 0 indicates success |
errMsg | string | Brief error message, empty if no error |
errDlt | string | Detailed error message, empty if no error |
data | object | Generic data object, specific structure below |
Failure Response Example
{
"errCode": 1004,
"errMsg": "RecordNotFoundError",
"errDlt": ": [1004]RecordNotFoundError"
}
Failure Response Parameters Explanation
Parameter Name | Type | Description |
---|---|---|
errCode | int | Error code, refer to the global error code documentation |
errMsg | string | Brief error message |
errDlt | string | Detailed error message |