import request from '@/utils/request'

export function getMockList(queryInfo) {
  return request({
    url: '/list/mock',
    method: 'get',
    params: queryInfo
  })
}

export function addMock(data) {
  return request({
    url: '/add/mock',
    method: 'post',
    data
  })
}

export function editMock(data) {
  return request({
    url: '/edit/mock',
    method: 'post',
    data
  })
}
