IP白名单设置
最后更新于
最后更新于
POST /api/open/white_list HTTP/1.1
Host: api.ipidea.net
Accept: */*
{
"ret": 0,
"code": "1",
"msg": "success",
"ret_data": {
"lists": [
{
"mark_ip": "106.110.97.78", // ip
"updated_at": "1648029184" // 更新时间
},
{
"mark_ip": "114.114.114.114",
"updated_at": "1653370603"
}
],
"white": 15 // ip白名单数量
},
"timestamp": 1653370728
}POST /api/open/white_add HTTP/1.1
Host: api.ipidea.net
Content-Type: multipart/form-data
Accept: */*
Content-Length: 31
{
"white_ips": "114.114.114.114"
}{
"ret": 0,
"code": "1",
"msg": "success",
"ret_data": [],
"timestamp": 1653370604
}POST /api/open/white_del HTTP/1.1
Host: api.ipidea.net
Content-Type: multipart/form-data
Accept: */*
Content-Length: 31
{
"white_ips": "114.114.114.114"
}{
"ret": 0,
"code": "1",
"msg": "success",
"ret_data": [],
"timestamp": 1653370862
}