编辑用户信息
POST
/api/user/profile
请求头
参数名
类型
描述
必填
token
登录令牌
必填
请求参数
参数名
类型
描述
必填
gender
性别必传 0女 1男 默认就是0
必填
nickname
昵称
可选
avatar
头像
可选