import request from "@/utils/request";

export function getList(params){
  return request({
    url:'/api/admin/visit_area/index',
    method:'get',
    params
  })
}

export function show(params){
  return request({
    method:'get',
    url:'/api/admin/visit_area/show',
    params
  })
}

export function save(data){
  return request({
    method:'post',
    url:'/api/admin/visit_area/save',
    data
  })
}

export function destroy(params){
  return request({
    method:'get',
    url:'/api/admin/visit_area/destroy',
    params
  })
}
