修改账号信息 | ||||
---|---|---|---|---|
接口描述 | 修改我的账号信息,如昵称、头像等 | |||
请求URL | https://api.solarmanpv.com/account/v1.0/user-info-update | |||
请求方式 | post | |||
请求类型 | application/json | |||
返回类型 | / | |||
请求参数 | ||||
参数名 | 数据类型 | 参数类型 | 是否必填 | 描述说明 |
authorization | string | header | Y | accessToken,示例值:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9 |
newNickname | string | body | N | 昵称 |
originalPhotoUrl | string | body | N | 头像原始图片的链接 |
photoUrl | string | body | N | 头像压缩图片的链接 |
响应参数 | ||||
参数名 | 数据类型 | 参数类型 | 是否必填 | 描述说明 |
code | string | body | N | 信息码 ,示例值:10000 |
msg | string | body | N | 信息描述 ,示例值:success |
success | boolean | body | N | 是否成功 ,示例值:true |
requestId | string | body | N | 请求标识 ,示例值:1d6f6eca9bee4b6483d4af064b659eec |
示例 | ||||
请求参数 | { “newNickname”:”ggg” } |
|||
返回值 | { “code”: null, “msg”: null, “success”: true, “requestId”: “b46c65eee2064e278f9d2990c4a9a826” } |