Skip to content
关注公众号,获取新课通知

获取指定用户的关注列表

接口URL

https://sqapi2.dishawang.com/api/v1/user/:user_id/follows/:page

请求方式

GET

Content-Type

form-data

请求Header参数

参数名示例值参数类型是否必填参数描述
token36040cbcde65e482739afca7a5465ab750c1c5d5String用户token

路径变量

参数名示例值参数描述
user_id7用户ID
page1页码

成功响应示例

json
{
  "code": 1,
  "msg": "ok",
  "data": {
    "total": 19,
    "per_page": 10,
    "current_page": 1,
    "last_page": 2,
    "data": [
      {
        "id": 1547,
        "user_id": 7,
        "create_time": "2024-02-01 18:51:38",
        "avatar": null,
        "name": "218468723",
        "desc": "暂无描述~",
        "fans_count": 14,
        "isfollow": true
      },
      {
        "id": 1649,
        "user_id": 7,
        "create_time": "2024-01-26 21:28:22",
        "avatar": "https://ceshi2.dishait.cn/uploads/20231125/a9858f67b5bfab3f8a934265b0ecaf48.jpg",
        "name": "15801383448",
        "desc": "暂无描述~",
        "fans_count": 4,
        "isfollow": true
      },
      {
        "id": 1649,
        "user_id": 7,
        "create_time": "2024-01-24 01:38:55",
        "avatar": "https://ceshi2.dishait.cn/uploads/20231125/a9858f67b5bfab3f8a934265b0ecaf48.jpg",
        "name": "15801383448",
        "desc": "暂无描述~",
        "fans_count": 4,
        "isfollow": true
      },
      {
        "id": 7,
        "user_id": 7,
        "create_time": "2024-01-19 15:09:47",
        "avatar": "http://sqapi2.dishawang.com/storage/uploads/a48a12a09a6654712f2d430d02dbc572.jpeg",
        "name": "哈哈哈",
        "desc": "我最帅",
        "fans_count": 46,
        "isfollow": true
      },
      {
        "id": 1424,
        "user_id": 7,
        "create_time": "2024-01-18 15:45:49",
        "avatar": null,
        "name": "18001066656",
        "desc": "暂无描述~",
        "fans_count": 2,
        "isfollow": true
      },
      {
        "id": 1630,
        "user_id": 7,
        "create_time": "2024-01-16 21:12:05",
        "avatar": null,
        "name": "18999617599",
        "desc": "暂无描述~",
        "fans_count": 1,
        "isfollow": true
      },
      {
        "id": 1391,
        "user_id": 7,
        "create_time": "2024-01-16 21:03:35",
        "avatar": null,
        "name": "15809543217",
        "desc": "暂无描述~",
        "fans_count": 0,
        "isfollow": true
      },
      {
        "id": 1350,
        "user_id": 7,
        "create_time": "2024-01-16 15:53:51",
        "avatar": null,
        "name": "15871964584",
        "desc": "暂无描述~",
        "fans_count": 2,
        "isfollow": true
      },
      {
        "id": 1018,
        "user_id": 7,
        "create_time": "2024-01-11 20:36:07",
        "avatar": null,
        "name": "18280045906",
        "desc": "暂无描述~",
        "fans_count": 0,
        "isfollow": true
      },
      {
        "id": 1349,
        "user_id": 7,
        "create_time": "2024-01-11 18:32:18",
        "avatar": "https://ceshi2.dishait.cn/uploads/20230919/5f3438d61e87402ae5eefc60b4c95afb.png",
        "name": "lucky",
        "desc": "暂无描述~",
        "fans_count": 0,
        "isfollow": true
      }
    ]
  }
}