import request from '@/utils/request'

export function fetchList(query) {
  return request({
    url: '/corrforeSt/page',
    method: 'get',
    params: query
  })
}

export function addObj(obj) {
  return request({
    url: '/corrforeSt',
    method: 'post',
    data: obj
  })
}


export function delObj(id) {
  return request({
    url: '/corrforeSt/' + id,
    method: 'delete'
  })
}

export function putObj(obj) {
  return request({
    url: '/corrforeSt',
    method: 'put',
    data: obj
  })

}
