查看用户详情
开发中GET
http://localhost:8080/qiniu/user/detail请求参数
Query 参数
user_id
string
可选
示例值:
37
token
string
可选
示例值:
sdfalisdkhflaksglkasdjgf1
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
data
object
必需
user_id
integer
必需
user_name
string
必需
follow_count
integer
必需
follower_count
integer
必需
is_follow
boolean
必需
avatar
string
必需
background_image
string
必需
signature
string
必需
total_favorited
integer
必需
work_count
integer
必需
favorite_count
integer
必需
status_code
integer
必需
status_msg
string
必需
示例
{
"data": {
"user_id": 37,
"user_name": "helloworld",
"follow_count": 1,
"follower_count": 2,
"is_follow": false,
"avatar": "https://th.bing.com/th?id=OIP.ZtrvDWpDrJNiyRQj6DwPvwAAAA&w=250&h=250&c=8&rs=1&qlt=90&o=6&dpr=1.5&pid=3.1&rm=2",
"background_image": "https://picx.zhimg.com/80/v2-e5427c1e9ad8aaad99d643e7bd7e927b_1440w.webp?source=1940ef5c",
"signature": "你的酒窝没有酒,我却醉得像条狗",
"total_favorited": 100,
"work_count": 120,
"favorite_count": 300
},
"status_code": 200,
"status_msg": "success"
}
最后修改时间: 1 年前