Skip to content

无法修改头像 #15

@Febers

Description

@Febers

使用文档中:

user/updateuserinfo
修改用户信息(头像,密码,性别,签名)
avatar
sign
gender
oldPassword
newPassword

直接返回“Your request is invalid.”

使用另一个api:http://bbs.uestc.edu.cn/mobcent/app/web/index.php?r=user/uploadavatarex, 传入的参数除token和secret外,还有一个“userAvatar”,为待修改的头像图片文件,服务器返回:

{
"rs": 0,
"errcode": "修改头像失败",
"head": {
"errCode": "11100001",
"errInfo": "修改头像失败",
"version": "2.6.1.7",
"alert": 1
},
"body": {
"externInfo": {
"padding": ""
}
}
}

请问正确修改头像的api是什么。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions