import request from '@/utils/request'

// 查询通话套餐订单列表（admin专用，走 /admin/ 前缀，路由到 fs-admin 8004）
export function listVoiceOrder(query) {
  return request({
    url: '/admin/voice-order/list',
    method: 'get',
    params: query
  })
}

// 导出通话套餐订单
export function exportVoiceOrder(query) {
  return request({
    url: '/admin/voice-order/export',
    method: 'get',
    params: query,
    responseType: 'blob'
  })
}
