修改会员信息
PUT
/shop/member请求参数
Body 参数application/json
createTime
string | null
创建时间
updateTime
string | null
更新时间
id
integer | null
ID
password
string | null
用户密码
gender
integer | null
可选
性别:0 未知, 1男, 1 女
birthday
string | null
生日
email
string | null
邮箱
lastLoginTime
string | null
最近一次登录时间
lastLoginIp
string | null
可选
最近一次登录IP地址
userLevel
integer | null
可选
0 普通用户,1 VIP用户,2 高级VIP用户
nickname
string | null
用户昵称或网络名称
mobile
string | null
用户手机号码
avatar
string | null
用户头像图片
weixinOpenid
string | null
可选
微信登录openid
sessionKey
string | null
微信登录会话KEY
status
integer | null
可选
0 可用, 1 禁用, 2 注销
delFlag
boolean | null
可选
删除标志(0代表存在 1代表删除)
示例
{
"createTime": "string",
"updateTime": "string",
"id": 0,
"password": "string",
"gender": 0,
"birthday": "string",
"email": "string",
"lastLoginTime": "string",
"lastLoginIp": "string",
"userLevel": 0,
"nickname": "string",
"mobile": "string",
"avatar": "string",
"weixinOpenid": "string",
"sessionKey": "string",
"status": 0,
"delFlag": true
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer | null
可选
返回状态码:返回200表示请求接口成功,非200表示请求接口失败
msg
string | null
返回消息
data
boolean | null
返回数据
示例
{
"code": 0,
"msg": "",
"data": false
}
最后修改时间: 10 个月前