import request from "@/utils/request";

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

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

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

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