添加redirect_url

This commit is contained in:
yezian 2024-05-28 12:07:01 +08:00
parent f007e0d025
commit 0d8cda9787
1 changed files with 1 additions and 0 deletions

View File

@ -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",
}; };