文档
测试

登入日志

GET
http:/domain/api/front/logs/login/lists?page=1&start_date=2020-12-01&end_date=2020-12-09

请求头

参数名
类型
描述
必填
Content-Type:application/json
sring
必填
Authorization
string
例如:Bearer token值
必填

请求参数

参数名
类型
描述
必填
start_date
date
开始日期
可选
end_date
date
截至日期
可选
page
int
当前第几页
可选
limit
int
分页数量,默认15
可选

响应参数

参数名
类型
描述
必填
ips
string
登入ip
必填
created_at
string
登入时间
必填

说明 / 示例

返回参数示例: ``` { "code": 1, "msg": "success", "data": { "list": { "current_page": 1, "data": [{ "ips": "127.0.0.1", "created_at": "2021-01-09 12:03:37" }, { "ips": "127.0.0.1", "created_at": "2021-01-09 11:56:39" }, { "ips": "127.0.0.1", "created_at": "2021-01-09 11:54:00" }, { "ips": "127.0.0.1", "created_at": "2021-01-09 11:46:03" }, { "ips": "127.0.0.1", "created_at": "2021-01-09 10:10:36" }, { "ips": "127.0.0.1", "created_at": "2021-01-08 19:27:06" }, { "ips": "127.0.0.1", "created_at": "2021-01-08 12:57:50" }, { "ips": "127.0.0.1", "created_at": "2021-01-08 11:47:38" }, { "ips": "127.0.0.1", "created_at": "2021-01-08 10:21:11" }, { "ips": "127.0.0.1", "created_at": "2021-01-08 00:39:08" }, { "ips": "127.0.0.1", "created_at": "2021-01-08 00:37:54" }, { "ips": "127.0.0.1", "created_at": "2021-01-08 00:25:55" }, { "ips": "127.0.0.1", "created_at": "2021-01-07 23:03:08" }, { "ips": "127.0.0.1", "created_at": "2021-01-07 22:31:47" }, { "ips": "127.0.0.1", "created_at": "2021-01-07 20:44:47" }], "first_page_url": "http:\/\/127.0.0.1:9912\/api\/front\/logs\/login\/lists?page=1", "from": 1, "last_page": 2, "last_page_url": "http:\/\/127.0.0.1:9912\/api\/front\/logs\/login\/lists?page=2", "next_page_url": "http:\/\/127.0.0.1:9912\/api\/front\/logs\/login\/lists?page=2", "path": "http:\/\/127.0.0.1:9912\/api\/front\/logs\/login\/lists", "per_page": 15, "prev_page_url": null, "to": 15, "total": 27 } } } ```