简要描述:

成员信息设置

目前只能设置头像和昵称

接口说明:

请求方式 接口地址 Content-Type
POST {baseURL}/works/set_user_info application/json

请求参数说明:

参数名 必填 类型 说明
userId string 成员ID
nickname string 成员昵称(昵称和头像不能同时为空)
headImg string 成员头像(base64)

请求参数示例:

{
    "userId" : "xxxxxxxxxxxxxxx",
    "nickname" : "某某昵称",
    "headImg" : "iVBORw0K......uQmCC",
}

返回参数说明:

参数名 必填 类型 说明
errcode int 错误码(0表示成功)
errmsg string 描述信息

返回示例:

正确时返回

{
    "errcode": 0,
    "errmsg": "ok"
}

错误时返回

{
    "errcode": 100,
    "errmsg": "系统错误"
}

备注:

  • 更多返回错误代码请看首页的错误代码描述
文档更新时间: 2023-09-06 20:49   作者:副官