为微信支付添加redirect_url

This commit is contained in:
yezian 2024-03-18 22:08:36 +08:00
parent 5b8eb44c83
commit 46ff35449c
1 changed files with 2 additions and 1 deletions

View File

@ -69,7 +69,8 @@ export default function WechatBar({
case "wxpay_h5":
router.push(
`https://weixin.tiefen.fun/pay/wxpay_h5/${encodeURIComponent(
temData.data.wxpay_h5_param_str
temData.data.wxpay_h5_param_str +
"&redirect_url=https%3A%2F%2Ftiefen.fun%2Fpurchased"
)}`
);
break;