获取用户资料 [ 会员 ]
POST
/plugin-account/api.auth.center/get最后修改时间: 4 个月前
请求参数
无
示例代码
返回响应
获取用户资料(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
info
string
必需
data
object
必需
id
integer
必需
unid
integer
必需
type
string
必需
phone
string
必需
openid
string
必需
unionid
string
必需
headimg
string
必需
nickname
string
必需
extra
object
必需
sort
integer
必需
status
integer
必需
deleted
integer
必需
create_time
string
必需
update_time
string
必需
user
object
必需
示例获取用户资料
{
"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月19日 10:00:31",
"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"
}
}
}
最后修改时间: 4 个月前