修改账号资料 [ 会员 ]
POST
/plugin-account/api.auth.center/set修改时间: 2 个月前
请求参数
Body 参数application/x-www-form-urlencoded
headimg
string
用户头像
nickname
string
用户昵称
示例值:
Anyon
region_prov
string
所在省份
region_city
string
所在城市
region_area
string
所在区域
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
info
string
必需
data
object
必需
id
integer
必需
unid
integer
必需
type
string
必需
phone
string
必需
appid
string
必需
openid
string
必需
unionid
string
必需
headimg
string
必需
nickname
string
必需
extra
array[string]
必需
status
integer
必需
deleted
integer
必需
create_time
string
必需
update_time
string
必需
user
object
必需
type_name
string
必需
示例修改主账号资料
{
"code": 1,
"info": "修改成功!",
"data": {
"id": 1,
"unid": 1,
"type": "wechat",
"phone": "",
"openid": "o38gps3vNdCqaggFfrBRCRikwlWY",
"unionid": "oGsrks8MgmWGcHiTXw8-MVOud_jk",
"headimg": "https://thirdwx.qlogo.cn/mmopen/vi_32/hiaKqW4pJbhvTrcRFvo8GicYqYvphb0DU51dia9gGltfibdkhCUibmmpkE4lRjzrHF1LWOPyboGDvdFnMiaBf0N3PMKA/132",
"nickname": "Anyon",
"extra": {
"openid": "o38gps3vNdCqaggFfrBRCRikwlWY",
"nickname": "Anyon",
"sex": 0,
"language": "",
"city": "",
"province": "",
"country": "",
"headimgurl": "https://thirdwx.qlogo.cn/mmopen/vi_32/hiaKqW4pJbhvTrcRFvo8GicYqYvphb0DU51dia9gGltfibdkhCUibmmpkE4lRjzrHF1LWOPyboGDvdFnMiaBf0N3PMKA/132",
"privilege": [
"chinaunicom"
],
"unionid": "oGsrks8MgmWGcHiTXw8-MVOud_jk"
},
"sort": 0,
"status": 1,
"deleted": 0,
"create_time": "2023年03月08日 11:15:16",
"update_time": "2023年04月28日 10:46:25",
"user": {
"id": 1,
"code": "U778934084838971",
"phone": "",
"email": "zoujingli@qq.com",
"unionid": "",
"username": "ThinkAdmin",
"nickname": "Anyon",
"headimg": "https://storage.thinkadmin.top/d/temps/d3/863873b498c94c0b4d1cfdcb152a6f.png",
"region_prov": "",
"region_city": "",
"region_area": "",
"remark": "",
"extra": {
"balance_total": 633,
"balance_used": 597,
"balance_lock": 0,
"balance_usable": 36,
"vips_total": 3
},
"sort": 0,
"status": 1,
"deleted": 0,
"create_time": "2023年03月08日 11:15:49",
"update_time": "2023年04月19日 23:10:51"
}
}
}
修改于 2 个月前