import request from '@/utils/request'

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

// 查询通话套餐详情
export function getVoicePackage(id) {
  return request({
    url: '/admin/voice-package/' + id,
    method: 'get'
  })
}
