文档
测试
POST
http://20201019.demo.hugelem.cn/api.php?mod=blacklist&extra=my_blacklist

接口描述

返回用户黑名单列表数据

请求参数

参数名
类型
描述
必填
auth
string
用户身份令牌
必填
page
int
页码(默认1)
可选
page_size
int
每页数据(默认10条)
可选

响应参数

参数名
类型
描述
必填
status
int
状态码
必填
total
int
列表总数
必填
current_page
int
当前页码
必填
page_size
int
当前每页返回条数
必填
list
array
黑名单数据列表
必填
id
int
黑名单记录ID
必填
target_uid
int
被拉黑的用户UID
必填
in_date
int
拉黑年月日时分秒时间戳
必填
target_user_nickname
string
被拉黑人的昵称
必填
target_user_face
string
被拉黑人的头像
必填

说明 / 示例

{ "status": 200, "list": [{ "id": "4", "target_uid": "8", "in_date": "1611300931", "is_del": "0", "target_user_nickname": "测试加好友", "target_user_face": "http:\/\/20201019.demo.hugelem.cn\/tu.png" }, { "id": "3", "target_uid": "4", "in_date": "1611300893", "is_del": "0", "target_user_nickname": "测试账号3", "target_user_face": "http:\/\/20201019.demo.hugelem.cn\/tu.png" }], "total": "2", "current_page": 1, "page_size": 10 }