feat:礼物提现

This commit is contained in:
dzc committed 2026-01-04 17:20:51 +08:00
1 parent 2d3114a772
commit 33014b8ca5
5 files changed
+369 -1

No files matched your search

+53
View File
@@ -0,0 +1,53 @@
import request from '@/config/axios'
// 提现金额审核 VO
export interface WalletTxAuthVO {
id: number // 钱包提现
userId: number // 用户id
walletId: number // 钱包id
bizType: string // 提现类型
bizId: number // 提现类型绑定id
txPrice: number // 提现金额
title: string // 提现title
checkStatus: string // 提现状态
checkTime: Date // 审核时间
txRefuse: string // 提现拒绝信息
}
// 提现金额审核 API
export const WalletTxAuthApi = {
// 查询提现金额审核分页
getWalletTxAuthPage: async (params: any) => {
return await request.get({ url: `/pay/wallet-tx-auth/page`, params })
},
// 查询提现金额审核详情
getWalletTxAuth: async (id: number) => {
return await request.get({ url: `/pay/wallet-tx-auth/get?id=` + id })
},
// 审核
check: async (data: WalletTxAuthVO) => {
return await request.post({ url: `/pay/wallet-tx-auth/check`, data })
},
// 新增提现金额审核
createWalletTxAuth: async (data: WalletTxAuthVO) => {
return await request.post({ url: `/pay/wallet-tx-auth/create`, data })
},
// 修改提现金额审核
updateWalletTxAuth: async (data: WalletTxAuthVO) => {
return await request.put({ url: `/pay/wallet-tx-auth/update`, data })
},
// 删除提现金额审核
deleteWalletTxAuth: async (id: number) => {
return await request.delete({ url: `/pay/wallet-tx-auth/delete?id=` + id })
},
// 导出提现金额审核 Excel
exportWalletTxAuth: async (params) => {
return await request.download({ url: `/pay/wallet-tx-auth/export-excel`, params })
}
}