封禁IP管理
获取封禁IP统计信息
获取封禁IP的统计信息,包括总数、生效数、过期数、按原因统计和按小时统计
get/api/v1/blocked-ips/stats
Response
获取统计信息成功
Example response
{
"code": 200,
"data": {
"activeBlocked": 50,
"expiredBlocked": 950,
"last24HourStats": [
{
"count": 10,
"hour": "2023-12-01T10:00:00Z"
}
],
"totalBlocked": 1000
},
"message": "操作成功",
"requestId": "550e8400-e29b-41d4-a716-446655440000",
"success": true,
"timestamp": "2023-01-01T12:00:00Z"
}