Commit 536a38c1 by 展昭

fee

parent e7c4f044
Showing with 12 additions and 4 deletions
......@@ -234,10 +234,18 @@ export default {
"loadPayUrl"
]),
toPay() {
const failUrl=encodeURIComponent("https://pay.qinqinxiaobao.com/callback/fail");
const successUrl=encodeURIComponent("https://pay.qinqinxiaobao.com/callback/success");
let payUrl=`${this.payUrl}&accountType=1&periodId=${this.currentPerId}&selected=1&failUrl=${failUrl}&successUrl=${successUrl}`;
window.location.href=payUrl;
const failUrl = encodeURIComponent(
"https://pay.qinqinxiaobao.com/callback/fail"
);
const successUrl = encodeURIComponent(
"https://pay.qinqinxiaobao.com/callback/success"
);
const payMethod = 0;
const payType = 4;
const selected = 0;
const fee = this.data.waitPay;
let payUrl = `${this.payUrl}&accountType=1&periodId=${this.currentPerId}&payMethod=${payMethod}&payType=${payType}&fee=${fee}&selected=1&failUrl=${failUrl}&successUrl=${successUrl}`;
window.location.href = payUrl;
},
toPage(flag) {
switch (flag) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment