添加redirect_url
This commit is contained in:
parent
f007e0d025
commit
0d8cda9787
|
@ -98,6 +98,7 @@ export default function Pay() {
|
||||||
product_id: customCoin.selected ? "h5_custom_coin" : selectedPrice.id,
|
product_id: customCoin.selected ? "h5_custom_coin" : selectedPrice.id,
|
||||||
custom_coins: customCoin.selected ? customCoin.num : 0,
|
custom_coins: customCoin.selected ? customCoin.num : 0,
|
||||||
pay_type: type,
|
pay_type: type,
|
||||||
|
redirect_url: type === "yeepay_wxpay_h5" ? window.location.href : "",
|
||||||
from: "app",
|
from: "app",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue