debug
This commit is contained in:
parent
364c86aeb4
commit
cd8f094fec
|
@ -32,6 +32,7 @@ export default function WechatBar({
|
|||
const signature = generateSignature({
|
||||
uid: streamerMid,
|
||||
pay_type: type,
|
||||
redirect_url: type === "yeepay_wxpay_h5" ? window.location.href : "",
|
||||
...base,
|
||||
});
|
||||
const response = await fetch(
|
||||
|
@ -66,10 +67,10 @@ export default function WechatBar({
|
|||
//如果金币不够情况
|
||||
switch (type) {
|
||||
case "yeepay_alipay_h5":
|
||||
router.push(`${data.data.yeepay_alipay_h5_param_str}`);
|
||||
router.push(`${temData.data.yeepay_alipay_h5_param_str}`);
|
||||
break;
|
||||
case "yeepay_wxpay_h5":
|
||||
router.push(`${data.data.yeepay_wxpay_h5_param_str}`);
|
||||
router.push(`${temData.data.yeepay_wxpay_h5_param_str}`);
|
||||
break;
|
||||
case "alipay_h5":
|
||||
router.push(`${temData.data.alipay_h5_param_str}`);
|
||||
|
|
Loading…
Reference in New Issue