import request from '@/config/axios'

// 获得交易订单分页
// TODO @xiaobai：改成 getOrderPage
export const getOrderList = (params: PageParam) => {
  return request.get({ url: '/trade/order/page', params })
}

// 获得交易订单详情
export const getOrderDetail = (id: number) => {
  return request.get({ url: '/trade/order/get-detail?id=' + id })
}
