On this page
获取指定用户的粉丝列表
接口URL
https://sqapi2.dishawang.com/api/v1/user/:user_id/fans/:page
请求方式
GET
Content-Type
form-data
请求Header参数
参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
---|---|---|---|---|
token | 36040cbcde65e482739afca7a5465ab750c1c5d5 | String | 否 | 用户token |
路径变量
参数名 | 示例值 | 参数描述 |
---|---|---|
user_id | 1690 | 用户ID |
page | 1 | 页码 |
成功响应示例
json
{
"code": 1,
"msg": "ok",
"data": {
"total": 2,
"per_page": 10,
"current_page": 1,
"last_page": 1,
"data": [
{
"id": 1704,
"user_id": 1704,
"create_time": "2024-03-23 00:01:34",
"avatar": null,
"name": "xxiixxi",
"desc": "hhahah",
"fans_count": 0,
"isfollow": false
},
{
"id": 1690,
"user_id": 1690,
"create_time": "2024-01-24 02:01:00",
"avatar": null,
"name": "136****5321",
"desc": "暂无描述~",
"fans_count": 2,
"isfollow": false
}
]
}
}