43 lines
1.4 KiB
TypeScript
43 lines
1.4 KiB
TypeScript
import request from '@/config/axios'
|
|
|
|
export interface CryptoWithdrawalDetailVO {
|
|
id: number
|
|
withdrawalId: number
|
|
cryptoType : string
|
|
network: string
|
|
cryptoAddress: string
|
|
cryptoTag: string
|
|
transactionHash: string
|
|
networkFee: string
|
|
}
|
|
|
|
// 查询数字货币提现详情列表
|
|
export const getCryptoWithdrawalDetailPage = async (params) => {
|
|
return await request.get({ url: `/member/crypto-withdrawal-detail/page`, params })
|
|
}
|
|
|
|
// 查询数字货币提现详情详情
|
|
export const getCryptoWithdrawalDetail = async (id: number) => {
|
|
return await request.get({ url: `/member/crypto-withdrawal-detail/get?id=` + id })
|
|
}
|
|
|
|
// 新增数字货币提现详情
|
|
export const createCryptoWithdrawalDetail = async (data: CryptoWithdrawalDetailVO) => {
|
|
return await request.post({ url: `/member/crypto-withdrawal-detail/create`, data })
|
|
}
|
|
|
|
// 修改数字货币提现详情
|
|
export const updateCryptoWithdrawalDetail = async (data: CryptoWithdrawalDetailVO) => {
|
|
return await request.put({ url: `/member/crypto-withdrawal-detail/update`, data })
|
|
}
|
|
|
|
// 删除数字货币提现详情
|
|
export const deleteCryptoWithdrawalDetail = async (id: number) => {
|
|
return await request.delete({ url: `/member/crypto-withdrawal-detail/delete?id=` + id })
|
|
}
|
|
|
|
// 导出数字货币提现详情 Excel
|
|
export const exportCryptoWithdrawalDetail = async (params) => {
|
|
return await request.download({ url: `/member/crypto-withdrawal-detail/export-excel`, params })
|
|
}
|