import request from '@/utils/request'
	
/**
 * @Descripttion: 售后单记录表Api接口
 * @version: (1.0)
 * @Author: (lwh)
 * @Date: (2023-08-29)
 * @LastEditors: (lwh)
 * @LastEditTime: (2023-08-29)
*/

// 售后单记录表分页查询列表
export function orderRefundList(query) {
  return request({
    url: '/business/OrderRefund/getOrderRefundList',
    method: 'get',
    params: query
  })
}

// 售后单记录表新增或修改
export function addOrUpdateOrderRefund(data) {
  return request({
    url: '/business/OrderRefund/addOrUpdateOrderRefund',
    method: 'post',
    data: data,
  })
}

// 售后单记录表删除
export function delOrderRefund(ids) {
  return request({
    url: '/business/OrderRefund/'+ ids,
    method: 'delete'
  })
}

// 售后单记录表导出
export function exportOrderRefund(query) {
  return request({
    url: 'business/OrderRefund/exportOrderRefund',
    method: 'get',
    params: query
  })
}

