53 lines
1.6 KiB
TypeScript
Executable File
53 lines
1.6 KiB
TypeScript
Executable File
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 })
|
|
}
|
|
} |