2.4 修改用户单项信息.md 1.93 KB

请求参数说明:

参数 必选 类型 说明
appId true string 应用ID
uid true string 用户ID
type true string nickName-昵称,gender-性别,email-邮箱, location-联系方式
value true string 对应的信息
clientPlat true string 客户端平台[i:IOS客户端,a:Android客户端]
token true string 平台TOKEN
sign true string 签名

返回格式说明:

{
    errorCode:"0",
    errorMsg:"成功"
}
{
    errorCode:"1",   
    errorMsg:"请求参数无效"  
}
{
    errorCode:"42004",   
    errorMsg:"操作失败"  
}
{
    errorCode:"41012",   
    errorMsg:"昵称不能超过15个汉字"  
}
{
    errorCode:"41008",   
    errorMsg:"该昵称已存在"  
}
{
    errorCode:"41013",   
    errorMsg:"性别无效"  
}
{
    errorCode:"41004",   
    errorMsg:"密码为6-20位字母或数字"  
}
{
    errorCode:"41017",   
    errorMsg:"邮箱格式错误"  
}
{
    errorCode:"41003",   
    errorMsg:"邮箱不能超过50位"  
}
{
    errorCode:"41007",   
    errorMsg:"该邮箱已存在"  
}
{
    errorCode:"42005",   
    errorMsg:"用户名更改失败"  
}
{
    errorCode:"42006",   
    errorMsg:"昵称更改失败"  
}
{
    errorCode:"41015",   
    errorMsg:"地址不超过120个汉字"  
}
{
    errorCode:"41018",   
    errorMsg:"type无效"  
}
{
    errorCode:"40005",   
    errorMsg:"其他错误"  
}