77 lines
2.7 KiB
TypeScript
77 lines
2.7 KiB
TypeScript
import request from '@/utils/request'
|
|
|
|
// 充值记录列表
|
|
export function rechargeRecordLists(params: any) {
|
|
return request.get({ url: '/finance.recharge_record/lists', params }, { ignoreCancelToken: true })
|
|
}
|
|
// 删除充值记录
|
|
export function rechargeRecordDelete(params: any) {
|
|
return request.post({ url: '/finance.recharge_record/delete', params })
|
|
}
|
|
// 同意充值
|
|
export function rechargeRecordAgree(params: any) {
|
|
return request.post({ url: '/finance.recharge_record/agree', params })
|
|
}
|
|
// 拒绝充值
|
|
export function rechargeRecordRefuse(params: any) {
|
|
return request.post({ url: '/finance.recharge_record/refuse', params })
|
|
}
|
|
// 充值记录备注
|
|
export function rechargeRecordRemark(params: any) {
|
|
return request.post({ url: '/finance.recharge_record/remark', params })
|
|
}
|
|
// 充值记录修改金额
|
|
export function rechargeRecordChangeAmount(params : any) {
|
|
return request.post({ url: '/finance.recharge_record/changeAmount', params })
|
|
}
|
|
//充值统计
|
|
export function rechargeRecordStat(params?: any) {
|
|
return request.get({ url: '/finance.recharge_record/stat', params })
|
|
}
|
|
//新充值提现条数
|
|
export function recordWarmCount() {
|
|
return request.get({ url: '/finance.recharge_record/warmCount'},{ hideProgress: true })
|
|
}
|
|
// 提现记录列表
|
|
export function withdrawRecordLists(params: any) {
|
|
return request.get({ url: '/finance.withdraw_record/lists', params }, { ignoreCancelToken: true })
|
|
}
|
|
// 删除提现记录
|
|
export function withdrawRecordDelete(params: any) {
|
|
return request.post({ url: '/finance.withdraw_record/delete', params })
|
|
}
|
|
// udun代付
|
|
export function withdrawRecordUdunPay(params: any) {
|
|
return request.post({ url: '/finance.withdraw_record/udunPay', params })
|
|
}
|
|
// 同意提现
|
|
export function withdrawRecordAgree(params: any) {
|
|
return request.post({ url: '/finance.withdraw_record/agree', params })
|
|
}
|
|
// 拒绝提现
|
|
export function withdrawRecordRefuse(params: any) {
|
|
return request.post({ url: '/finance.withdraw_record/refuse', params })
|
|
}
|
|
// 提现记录备注
|
|
export function withdrawRecordRemark(params: any) {
|
|
return request.post({ url: '/finance.withdraw_record/remark', params })
|
|
}
|
|
//提现统计
|
|
export function withdrawRecordStat(params?: any) {
|
|
return request.get({ url: '/finance.withdraw_record/stat', params })
|
|
}
|
|
|
|
// 资金明细列表
|
|
export function userFinanceLists(params: any) {
|
|
return request.get({ url: '/finance.user_finance/lists', params })
|
|
}
|
|
// 删除资金明细
|
|
export function userFinanceDelete(params: any) {
|
|
return request.post({ url: '/finance.user_finance/delete', params })
|
|
}
|
|
// 解冻
|
|
export function userFinanceUnfrozen(params: any) {
|
|
return request.post({ url: '/finance.user_finance/unfrozen', params })
|
|
}
|
|
|