- readme
- 埋点模块
- 初始化模块
- 用户模块
- 权限模块
- 角色模块
- 文章模块
- 点赞模块
- 评论模块
- 作品模块
- 分类模块
- 标签模块
- 音乐模块
- 友链模块
- 主题模块
- 访客模块
- 日志模块
- 前端模块
- 其他
- 七牛云模块
- 任务模块
- 监控模块
访客列表
GET
/visitor_log/list
最后修改时间:2022-04-16 21:46:57
责任人:galaxy-s10
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Query 参数
nowPage
string
可选
示例值:
1
pageSize
string
可选
示例值:
5
keyWord
string
可选
示例值:
1dsf
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/visitor_log/list'
返回响应
🟢200成功
application/json
Body
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": "获取成功!"
}
修改于 2022-04-16 21:46:57