访客列表
GET
/visitor_log/list修改时间: 2 年前
责任人:
请求参数
Query 参数
nowPage
string
可选
示例值:
1
pageSize
string
可选
示例值:
5
keyWord
string
可选
示例值:
1dsf
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
data
object
必需
nowPage
integer
必需
pageSize
integer
必需
hasMore
boolean
必需
total
integer
必需
rows
array [object {8}]
必需
message
string
必需
示例成功示例
{
"code": 200,
"data": {
"nowPage": 1,
"pageSize": 5,
"hasMore": true,
"count": 1035,
"rows": [
{
"id": 1,
"user_id": -1,
"ip": "120.230.131.44",
"status": 1,
"ip_data": "\"{\\\"status\\\":\\\"1\\\",\\\"info\\\":\\\"OK\\\",\\\"infocode\\\":\\\"10000\\\",\\\"country\\\":\\\"中国\\\",\\\"province\\\":\\\"广东省\\\",\\\"city\\\":\\\"广州市\\\",\\\"district\\\":\\\"天河区\\\",\\\"isp\\\":\\\"移动\\\",\\\"location\\\":\\\"113.280637,23.125178\\\",\\\"ip\\\":\\\"120.230.131.44\\\"}\"",
"created_at": "2022-03-09 22:12:45",
"updated_at": "2022-03-09 22:12:45",
"deleted_at": null
},
{
"id": 2,
"user_id": -1,
"ip": "120.230.131.44",
"status": 1,
"ip_data": "\"{\\\"status\\\":\\\"1\\\",\\\"info\\\":\\\"OK\\\",\\\"infocode\\\":\\\"10000\\\",\\\"country\\\":\\\"中国\\\",\\\"province\\\":\\\"广东省\\\",\\\"city\\\":\\\"广州市\\\",\\\"district\\\":\\\"天河区\\\",\\\"isp\\\":\\\"移动\\\",\\\"location\\\":\\\"113.280637,23.125178\\\",\\\"ip\\\":\\\"120.230.131.44\\\"}\"",
"created_at": "2022-03-09 22:12:51",
"updated_at": "2022-03-09 22:12:51",
"deleted_at": null
},
{
"id": 3,
"user_id": -1,
"ip": "120.230.131.44",
"status": 1,
"ip_data": "\"{\\\"status\\\":\\\"1\\\",\\\"info\\\":\\\"OK\\\",\\\"infocode\\\":\\\"10000\\\",\\\"country\\\":\\\"中国\\\",\\\"province\\\":\\\"广东省\\\",\\\"city\\\":\\\"广州市\\\",\\\"district\\\":\\\"天河区\\\",\\\"isp\\\":\\\"移动\\\",\\\"location\\\":\\\"113.280637,23.125178\\\",\\\"ip\\\":\\\"120.230.131.44\\\"}\"",
"created_at": "2022-03-09 22:13:34",
"updated_at": "2022-03-09 22:13:34",
"deleted_at": null
},
{
"id": 4,
"user_id": -1,
"ip": "120.230.131.44",
"status": 1,
"ip_data": "\"{\\\"status\\\":\\\"1\\\",\\\"info\\\":\\\"OK\\\",\\\"infocode\\\":\\\"10000\\\",\\\"country\\\":\\\"中国\\\",\\\"province\\\":\\\"广东省\\\",\\\"city\\\":\\\"广州市\\\",\\\"district\\\":\\\"天河区\\\",\\\"isp\\\":\\\"移动\\\",\\\"location\\\":\\\"113.280637,23.125178\\\",\\\"ip\\\":\\\"120.230.131.44\\\"}\"",
"created_at": "2022-03-09 22:15:12",
"updated_at": "2022-03-09 22:15:12",
"deleted_at": null
},
{
"id": 5,
"user_id": -1,
"ip": "120.230.131.44",
"status": 1,
"ip_data": "\"{\\\"status\\\":\\\"1\\\",\\\"info\\\":\\\"OK\\\",\\\"infocode\\\":\\\"10000\\\",\\\"country\\\":\\\"中国\\\",\\\"province\\\":\\\"广东省\\\",\\\"city\\\":\\\"广州市\\\",\\\"district\\\":\\\"天河区\\\",\\\"isp\\\":\\\"移动\\\",\\\"location\\\":\\\"113.280637,23.125178\\\",\\\"ip\\\":\\\"120.230.131.44\\\"}\"",
"created_at": "2022-03-09 22:15:15",
"updated_at": "2022-03-09 22:15:15",
"deleted_at": null
}
]
},
"message": "获取成功!"
}
修改于 2 年前