- readme
- 埋点模块
- 初始化模块
- 用户模块
- 权 限模块
- 角色模块
- 文章模块
- 点赞模块
- 评论模块
- 作品模块
- 分类模块
- 标签模块
- 音乐模块
- 友链模块
- 主题模块
- 访客模块
- 日志模块
- 前端模块
- 其他
- 七牛云模块
- 任务模块
- 监控模块
日志列表
GET
/log/list
最后修改时间:2022-04-04 13:44:17
责任人:未设置
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Query 参数
nowPage
string
可选
示例值:
1
pageSize
string
可选
示例值:
5
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/log/list'
返回响应
🟢200成功
application/json
Body
code
integer
必需
data
object
必需
nowPage
integer
必需
pageSize
integer
必需
hasMore
boolean
必需
total
integer
必需
rows
array [object {16}]
必需
message
string
必需
示例
{
"code": 200,
"data": {
"nowPage": 1,
"pageSize": 5,
"hasMore": true,
"count": 8928,
"rows": [
{
"id": 1,
"user_id": -1,
"api_sql_duration": null,
"api_user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36",
"api_from": 1,
"api_ip": "120.230.79.106",
"api_hostname": "www.hsslive.cn",
"api_method": "GET",
"api_path": "/tag/list",
"api_query": "{\"nowPage\":\"1\",\"pageSize\":\"100\"}",
"api_body": "{}",
"api_err_msg": null,
"api_err_stack": null,
"created_at": "2022-03-19 17:43:50",
"updated_at": "2022-03-19 17:43:50",
"deleted_at": null
},
{
"id": 2,
"user_id": -1,
"api_sql_duration": null,
"api_user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36",
"api_from": 1,
"api_ip": "120.230.79.106",
"api_hostname": "www.hsslive.cn",
"api_method": "GET",
"api_path": "/tag/article_list/1",
"api_query": "{\"nowPage\":\"1\",\"pageSize\":\"3\"}",
"api_body": "{}",
"api_err_msg": null,
"api_err_stack": null,
"created_at": "2022-03-19 17:43:50",
"updated_at": "2022-03-19 17:43:50",
"deleted_at": null
},
{
"id": 3,
"user_id": -1,
"api_sql_duration": null,
"api_user_agent": "Mozilla/5.0 (Linux; Android 8.0; OPPO x20 70816.012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Mobile Safari/537.36",
"api_from": 1,
"api_ip": "221.130.37.133",
"api_hostname": "localhost",
"api_method": "GET",
"api_path": "/visitor_log/day",
"api_query": "{\"startTime\":\"2022-3-19 00:00:00\",\"endTime\":\"2022-3-19 23:59:59\"}",
"api_body": "{}",
"api_err_msg": null,
"api_err_stack": null,
"created_at": "2022-03-19 17:47:44",
"updated_at": "2022-03-19 17:47:44",
"deleted_at": null
},
{
"id": 4,
"user_id": -1,
"api_sql_duration": null,
"api_user_agent": "Mozilla/5.0 (Linux; Android 8.0; OPPO x20 70816.012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Mobile Safari/537.36",
"api_from": 1,
"api_ip": "221.130.37.133",
"api_hostname": "localhost",
"api_method": "GET",
"api_path": "/visitor_log/history",
"api_query": "{}",
"api_body": "{}",
"api_err_msg": null,
"api_err_stack": null,
"created_at": "2022-03-19 17:47:44",
"updated_at": "2022-03-19 17:47:44",
"deleted_at": null
},
{
"id": 5,
"user_id": -1,
"api_sql_duration": null,
"api_user_agent": "Mozilla/5.0 (Linux; Android 8.0; OPPO x20 70816.012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Mobile Safari/537.36",
"api_from": 1,
"api_ip": "221.130.37.133",
"api_hostname": "localhost",
"api_method": "GET",
"api_path": "/type/list",
"api_query": "{\"nowPage\":\"1\",\"pageSize\":\"10\"}",
"api_body": "{}",
"api_err_msg": null,
"api_err_stack": null,
"created_at": "2022-03-19 17:47:44",
"updated_at": "2022-03-19 17:47:44",
"deleted_at": null
}
]
},
"message": "获取成功!"
}
修改于 2022-04-04 13:44:17