import request from '@/utils/request'

// 查询租户充值记录列表
export function listRechargeRecords(query) {
  return request({
    url: '/admin/recharge-record/list',
    method: 'get',
    params: query
  })
}

// 获取充値记录详情
export function getRechargeRecord(id) {
  return request({
    url: '/admin/recharge-record/' + id,
    method: 'get'
  })
}

// 导出充値记录
export function exportRechargeRecord(query) {
  return request({
    url: '/admin/recharge-record/export',
    method: 'get',
    params: query
  })
}
