/*
 * @Descripttion: 
 * @version: 
 * @Author: 王三华
 * @Date: 2023-10-18 15:12:00
 */
const http = uni.$u.http

// 充值明细页面
export const getrechageList = (params) => http.post('/member/manager/recharge/list?pageNum=' + params.pageNum + '&pageSize=' + params.pageSize, params)

// 币种类型选择
export const getenumsAccount = (params) => http.get('/system/manage/account/pkBdAccountList', { params })

//交款方式选择
export const getpaymentType = (params) => http.get('/system/pub/enums/get-payment-type', { params })

//审核状态
export const getApproveStatus = (params) => http.get('/system/pub/enums/approve-recharge-status', { params })

//提现明细-审核状态下拉选
export const getApproveStatuss = (params) => http.get('/system/pub/enums/approval-status-all', { params })

//充值明细-操作人列表
export const getCreatorList = (params) => http.get('/member/manager/recharge/show-operator', { params })

//消费明细
export const tradeList = (params) => http.post('/member/manager/trade/list?pageNum=' + params.pageNum + '&pageSize=' + params.pageSize, params)

//交易类型
export const getTradeType = (params) => http.get('/system/pub/enums/get-trade-type', { params })

//提现明细
export const withdrawList = (params) => http.post('/member/manager/withdraw/list?pageNum=' + params.pageNum + '&pageSize=' + params.pageSize, params)

//打款状态
export const paymentStatus = (params) => http.get('/system/pub/enums/get-payment-status', { params })

// 充值币种类型选择
export const getenumsCzAccount = (params) => http.get('/system/manage/account/rechargeList', { params })

//充值方式
export const getrechargeMethod = (params) => http.get('/system/pub/enums/get-recharge-method', { params })

//充值明细table
export const changeAccountType = (params) => http.get('/member/manager/recharge/show-member', { params })

// 根据会员编号查询会员姓名
export const getMemberName = (params) => http.get('/member/manager/recharge/member-name', { params })

// 签呈配置内容
export const signData = (params) => http.get('/system/manage/approval/sign-data/' + params, { params })

//单笔充值
export const rechargeFill = (params) => http.post('/member/manager/recharge/fill', params)

//钱包明细详情
export const tradeDetailsList = (params) => http.post('/member/manager/trade/detail-list?pageNum=' + params.pageNum + '&pageSize=' + params.pageSize, params)

//钱包明细
export const accountList = (params) => http.post('/member/manager/account/list?pageNum=' + params.pageNum + '&pageSize=' + params.pageSize, params)

// 钱包明细根据配置字段显示
export const listField = (params) => http.get('/member/manager/account/list-field', { params })
// 钱包类型
export const pkBdAccountList = (params) => http.get('/system/manage/account/pkBdAccountList', { params })
// 支付渠道
export const payChannel = (params) => http.get('/system/pub/enums/pay-channel', { params })
// 支付状态
export const payStatus = (params) => http.get('/system/pub/enums/pay-status', { params })
// 在线支付列表
export const onlineList = (params) => http.get('/pay/manage/online-payment/list', { params })
// 退款状态
export const getRefundStatus = (params) => http.get('/system/pub/enums/refund-status', { params })
// 在线退款明细列表
export const getRefundList = (params) => http.get('/pay/manage/online-refund/refund-list', { params })

//余额汇总列表
export const getBalanceSummaryList = (params) => http.post('/member/manager/account-detail/list?pageNum=' + params.pageNum + '&pageSize=' + params.pageSize, params)

//余额汇总字段显示
export const getBalanceSummaryField = (params) => http.get('/member/manager/account-detail/list-field', { params })

//交易类型
export const businessType = (params) => http.get('/system/pub/enums/pay-business-type', { params })

//提现签呈详情 
export const showWithdraw = (params) => http.post('/member/manager/withdraw/show-withdraw-petition', params)

//提现打款
export const payment = (params) => http.post('/member/manager/withdraw/payment', params)

//提现充正
export const positive = (params) => http.post('/member/manager/withdraw/positive', params)

//转账明细
export const transferList = (params) => http.post('/member/manager/transfer/list?pageNum=' + params.pageNum + '&pageSize=' + params.pageSize, params)

//冻结明细列表
export const getFrozenList = (params) => http.post('/member/manager/frozen/frozen-list?pageNum=' + params.pageNum + '&pageSize=' + params.pageSize, params)

