You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
pifa/api/recharge.js

27 lines
558 B

import request from '@/utils/request'
// api地址
const api = {
center: 'recharge/center',
submit: 'recharge/submit',
tradeQuery: 'recharge/tradeQuery'
}
// 充值中心页面数据
export const center = (param) => {
return request.get(api.center, param)
}
// 确认充值订单
export const submit = (data) => {
return request.post(api.submit, { form: data })
}
/**
* 交易查询
* 查询第三方支付订单是否付款成功
* @param {Object} param
*/
export function tradeQuery(param) {
return request.get(api.tradeQuery, param)
}