import request from '@/config/axios'

// export interface CurrencyTransactionVO {
//   id: number
//   currencyId: number
//   title: string
//   price: number
//   balance: number
// }

// 获得货币账户充值记录分页
export const getCurrencyRechargePage = async (params) => {
  return await request.get({ url: `/pay/currency-recharge/page`, params })
}

// 发起货币账户充值退款
export const refundCurrencyRechargeOrder = async (id) => {
  return await request.put({ url: `/pay/currency-recharge/refund?id=${id}` })
}
