27. 我的-获取用户信息
开发中GET
/user/info请求参数
Header 参数
Access-Token
string
必需
示例值:
1741f74aed758a688515f72572dc8e37
platform
string
运行平台
示例值:
H5
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
status
integer
必需
message
string
必需
data
object
必需
userInfo
object
必需
示例
{
"status": 200,
"message": "success",
"data": {
"userInfo": {
"user_id": 10003,
"mobile": "189****6702",
"nick_name": "谷神不死",
"avatar_id": 10306,
"gender": "未知",
"country": "",
"province": "",
"city": "",
"address_id": 10012,
"balance": "99790026.09",
"points": 0,
"pay_money": "210948.34",
"expend_money": "0.00",
"grade_id": 10003,
"platform": "MP-WEIXIN",
"last_login_time": 1679476385,
"currentOauth": null,
"avatar_url": "http://cba.itlike.com/public/uploads/10001/20230321/a0db9adb2e666a65bc8dd133fbed7834.png",
"avatar": {
"file_id": 10306,
"group_id": 0,
"channel": 20,
"storage": "local",
"domain": "",
"file_type": 10,
"file_name": "avatar_221fc65c1f6e36adb67429f500720c7e.png",
"file_path": "10001/20230321/a0db9adb2e666a65bc8dd133fbed7834.png",
"file_size": 619,
"file_ext": "png",
"cover": "",
"uploader_id": 0,
"is_recycle": 0,
"is_delete": 0,
"update_time": "2023-03-21 15:25:59",
"preview_url": "http://cba.itlike.com/public/uploads/10001/20230321/a0db9adb2e666a65bc8dd133fbed7834.png",
"external_url": "http://cba.itlike.com/public/uploads/10001/20230321/a0db9adb2e666a65bc8dd133fbed7834.png"
},
"grade": {
"grade_id": 10003,
"name": "钻石会员",
"weight": 3,
"upgrade": {
"expend_money": "30000"
},
"equity": {
"discount": "9.6"
},
"status": 1,
"is_delete": 0,
"store_id": 10001,
"create_time": "2021-03-01 08:00:00",
"update_time": "2021-03-01 08:00:00"
}
}
}
}
最后修改时间: 2 年前