2.2 用户信息-上传头像.md
1.11 KB
/* Title: 2.2 上传头像 Sort: 22 */
URL: http://api.cnlive.com/open/api/CnliveMobile/json/avatarUpdate?sp_id=xxx&...
请求方式: POST
返回格式: JSON
请求参数说明:
| 参数 | 必选 | 类型 | 说明 |
|---|---|---|---|
| spId | true | string | 服务提供商ID |
| uid | true | string | 用户ID |
| face | true | blob | 头像文件 |
| clientPlat | true | string | 客户端平台[i:IOS客户端,a:Android客户端] |
| token | true | string | 平台TOKEN |
返回格式说明:
{
errorCode:"0",
errorMsg:"成功"
}
{
errorCode:"xxx", //错误代码(非0)
errorMsg:"失败" //错误信息
}