import request from '@/utils/request'
//查看IP白名单列表
export function wafIPBlockListApi(params) {
  return request({
    url: '/wafhost/ipblock/list',
    method: 'post',
    data: params
  })
}
//删除IP黑名单
export function wafIPBlockDelApi(params) {
  return request({
    url: '/wafhost/ipblock/del',
    method: 'get',
    params: params
  })
}
//编辑IP黑名单
export function wafIPBlockEditApi(params) {
  return request({
    url: '/wafhost/ipblock/edit',
    method: 'post',
    data: params
  })
}
//添加IP黑名单
export function wafIPBlockAddApi(params) {
  return request({
    url: '/wafhost/ipblock/add',
    method: 'post',
    data: params
  })
}
//详细IP黑名单
export function wafIPBlockDetailApi(params) {
  return request({
    url: '/wafhost/ipblock/detail',
    method: 'get',
    params: params
  })
}
