根据id获取用户信息
开发中/user/detail
登录后调用此接口 , 传入用户 id, 可以获取用户详情
请求参数
Query 参数
uid
string
可选
示例值:
8586889603
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSON
数据结构
createDays
integer
必需
adValid
boolean
必需
createTime
integer
必需
code
integer
必需
newUser
boolean
必需
recallUser
boolean
必需
示例
{
"level": 0,
"listenSongs": 1,
"userPoint": {
"userId": 3669994070,
"balance": 0,
"updateTime": 1685948198294,
"version": 10,
"status": 0,
"blockBalance": 0
},
"mobileSign": false,
"pcSign": false,
"profile": {
"privacyItemUnlimit": {
"area": true,
"college": true,
"gender": true,
"age": true,
"villageAge": true
},
"avatarDetail": null,
"defaultAvatar": false,
"avatarImgId": 109951165647004060,
"followed": false,
"vipType": 0,
"authStatus": 0,
"experts": {},
"expertTags": null,
"detailDescription": "",
"mutual": false,
"remarkName": null,
"birthday": -2209017600000,
"accountStatus": 0,
"province": 520000,
"nickname": "清风暮百首",
"avatarUrl": "http://p1.music.126.net/SUeqMM8HOIpHv9Nhl9qt9w==/109951165647004069.jpg",
"backgroundImgId": 109951162868128400,
"backgroundUrl": "http://p1.music.126.net/2zSNIqTcpHL2jIvU6hG0EA==/109951162868128395.jpg",
"userType": 0,
"createTime": 1596369115638,
"djStatus": 0,
"gender": 1,
"city": 520100,
"description": "",
"backgroundImgIdStr": "109951162868128395",
"avatarImgIdStr": "109951165647004069",
"userId": 3669994070,
"signature": "",
"authority": 0,
"followeds": 0,
"follows": 3,
"blacklist": false,
"eventCount": 0,
"allSubscribedCount": 0,
"playlistBeSubscribedCount": 0,
"avatarImgId_str": "109951165647004069",
"followTime": null,
"followMe": false,
"artistIdentity": [],
"cCount": 0,
"inBlacklist": false,
"sDJPCount": 0,
"playlistCount": 1,
"sCount": 0,
"newFollows": 3
},
"peopleCanSeeMyPlayRecord": true,
"bindings": [
{
"expiresIn": 2147483647,
"refreshTime": 1596369112,
"bindingTime": 1596369112186,
"tokenJsonStr": null,
"url": "",
"userId": 3669994070,
"expired": false,
"id": 10916100970,
"type": 1
},
{
"expiresIn": 7776000,
"refreshTime": 1685938138,
"bindingTime": 1596369038984,
"tokenJsonStr": null,
"url": "",
"userId": 3669994070,
"expired": false,
"id": 10916029252,
"type": 5
}
],
"adValid": true,
"code": 200,
"newUser": false,
"recallUser": true,
"createTime": 1596369115638,
"createDays": 1037,
"profileVillageInfo": {
"title": "领取村民证",
"imageUrl": null,
"targetUrl": "https://sg.music.163.com/g/cloud-card-2?nm_style=sbt&market=personal"
}
}
修改时间 1 年前