// 获取订单支付信息 import { requestRaw,requestApi } from '../util/network' import { env } from '../static/config' // 用户支付 export const pay = (paySn, payType, data, key, uniapp=0) => requestRaw( env.SITE_URL + '/index.php?s=api/Memberpayment/' + payType + '/pay_sn/' + paySn + '/password/' + data.password + '/rcb_pay/' + data.rcb_pay + '/pd_pay/' + data.pd_pay + '/payment_code/' + data.payment_code + '/key/' + key + '/uniapp/' + uniapp + '/openid/' + data.openid + '/random_number/' + Math.random() + '/' ) // 获取支付方式列表 export const getPaymentList = (payment_platform='',payment_code='') => requestApi( '/Memberpayment/payment_list', 'POST', { payment_platform:payment_platform, payment_code:payment_code }, 'member' )