Authorization: Bearer ********************curl --location --request POST 'http://gpadmin-api.cc/api/admin/log/generalLog' \
--header 'Authorization: Bearer <token>' \
--form 'account_id=""' \
--form 'source_type="admin"' \
--form 'action_type="login"' \
--form 'keyword=""' \
--form 'ip_address=""' \
--form 'date_range="2025-08-08,2025-08-08"'{
"code": 0,
"message": "success",
"data": {
"data": [
{
"log_id": 5,
"source_type": "管理员",
"action_type": "登录",
"content": "用户登录系统(user: admin)",
"ip_address": "127.0.0.1",
"ip_location": "内网IP",
"created_at": "2025-08-09 08:10:33",
"username": ""
},
{
"log_id": 4,
"source_type": "管理员",
"action_type": "登录",
"content": "用户登录系统(user: admin)",
"ip_address": "127.0.0.1",
"ip_location": "内网IP",
"created_at": "2025-08-09 08:10:29",
"username": ""
},
{
"log_id": 3,
"source_type": "管理员",
"action_type": "登录",
"content": "用户登录系统(user: admin)",
"ip_address": "127.0.0.1",
"ip_location": "内网IP",
"created_at": "2025-08-09 07:09:51",
"username": ""
},
{
"log_id": 2,
"source_type": "管理员",
"action_type": "登录",
"content": "用户登录系统(user: admin)",
"ip_address": "127.0.0.1",
"ip_location": "内网IP",
"created_at": "2025-08-09 04:11:39",
"username": ""
},
{
"log_id": 1,
"source_type": "管理员",
"action_type": "登录",
"content": "用户登录系统(user: admin)",
"ip_address": "127.0.0.1",
"ip_location": "内网IP",
"created_at": "2025-08-06 17:11:38",
"username": ""
}
],
"page": {
"currentPage": 1,
"currentCount": 5,
"perPage": 10,
"lastPage": 1,
"total": 5
}
}
}