获取用户自定义属性数据
开发中GET
/user/fields/info请求参数
无
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
status
integer
必需
message
string
必需
data
object
必需
avatar
string
必需
nickname
string
必需
phone
string
必需
uid
integer
必需
extend_info
array [object {14}]
必需
示例
{
"status": 200,
"message": "success",
"data": {
"avatar": "https://thirdwx.qlogo.cn/mmopen/vi_32/XsjGKljzP4WIlUoFC8zR2YqWv785RJFpceZG8NeYmaRcN2Nc44toMn4Gs0DibjwYrmYgEqOfQaGgZNTYAyic2iaSw/132",
"nickname": "小杨不吃羊",
"phone": "13309212766",
"uid": 10444,
"extend_info": [
{
"id": 1,
"field": "sex",
"title": "性别",
"is_used": 1,
"is_require": 1,
"is_show": 1,
"type": "radio",
"msg": "",
"content": [
"男",
"女"
],
"is_default": 0,
"sort": 0,
"create_time": "2023-09-28 15:11:26",
"update_time": null,
"value": ""
},
{
"id": 2,
"field": "email",
"title": "邮箱",
"is_used": 1,
"is_require": 1,
"is_show": 1,
"type": "email",
"msg": "请输入邮箱",
"content": null,
"is_default": 1,
"sort": 6,
"create_time": "2023-09-26 17:51:04",
"update_time": null,
"value": "1329847115@qq.com"
},
{
"id": 3,
"field": "address",
"title": "地址",
"is_used": 1,
"is_require": 1,
"is_show": 1,
"type": "address",
"msg": "请输入地址",
"content": null,
"is_default": 1,
"sort": 5,
"create_time": "2023-09-27 10:48:00",
"update_time": null,
"value": "测试地址"
},
{
"id": 4,
"field": "add_date",
"title": "添加日期",
"is_used": 1,
"is_require": 1,
"is_show": 1,
"type": "date",
"msg": "请输入日期",
"content": null,
"is_default": 1,
"sort": 4,
"create_time": "2023-09-27 10:48:41",
"update_time": null,
"value": "2023-09-27"
},
{
"id": 5,
"field": "id_card",
"title": "身份证号",
"is_used": 1,
"is_require": 1,
"is_show": 1,
"type": "id_card",
"msg": "请输入省份证号",
"content": null,
"is_default": 1,
"sort": 3,
"create_time": "2023-09-27 10:49:42",
"update_time": null,
"value": "620123199608022117"
},
{
"id": 7,
"field": "mobile",
"title": "手机号",
"is_used": 1,
"is_require": 1,
"is_show": 1,
"type": "phone",
"msg": "请输入手机号",
"content": null,
"is_default": 1,
"sort": 2,
"create_time": "2023-09-27 10:50:55",
"update_time": null,
"value": "17693447942"
},
{
"id": 10,
"field": "xuexiao",
"title": "手机号",
"is_used": 1,
"is_require": 1,
"is_show": 1,
"type": "radio",
"msg": "",
"content": [
"高中",
"小学",
"初中"
],
"is_default": 0,
"sort": 1,
"create_time": "2023-09-28 11:11:47",
"update_time": null,
"value": ""
}
]
}
}
最后修改时间: 1 年前