OA/api/pay.js

59 lines
1.2 KiB
JavaScript

import oahttp from "@/utils/oahttp.js";
/**
* 充值
*/
export const recharge = (data) => oahttp.post('/recharge/recharge', data)
/**
* 押金充值记录
*/
export const deposit_recharge = (data) => oahttp.get('/recharge/deposit_lists', data)
/**
* 支付方式
*/
export const payWay = (data) => oahttp.get('/pay/payWay', data)
/**
* 预支付
*/
export const payPrepay = (data) => oahttp.post('/pay/prepay', data)
/**
* 支付配置
*/
export const wechatJsConfig = (data) => oahttp.get('/wechat/jsConfig', data)
/**
* 支付状态
*/
export const payStatus = (data) => oahttp.get('/pay/payStatus', data)
/**
* 充值记录
*/
export const rechargeLists = (data) => oahttp.get('/recharge/lists', data)
/**
* 余额明细
*/
export const accountLogLists = (data) => oahttp.get('/account_log/lists', data)
/**
* 月份统计
*/
export const accountLogListsMonth = (data) => oahttp.get('/account_log/year_count', data)
/**
* 余额提现
*/
export const userWithdraw = (data) => oahttp.get('/user/withdraw', data)
/**
* 提现记录
*/
export const userWithdrawList = (data) => oahttp.get('/user/withdrawList', data)
/**
* 可提现金额
*/
export const getCurrCycleWithdraw = (data) => oahttp.get('/user/getCurrCycleWithdraw', data)