易宝支付
This commit is contained in:
parent
937becc748
commit
cc02c10a98
|
@ -129,6 +129,12 @@ export default function Pay() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
switch (type) {
|
switch (type) {
|
||||||
|
case "yeepay_alipay_h5":
|
||||||
|
router.push(`${data.data.yeepay_alipay_h5_param_str}`);
|
||||||
|
break;
|
||||||
|
case "yeepay_wxpay_h5":
|
||||||
|
router.push(`${data.data.yeepay_wxpay_h5_param_str}`);
|
||||||
|
break;
|
||||||
case "alipay_h5":
|
case "alipay_h5":
|
||||||
router.push(`${data.data.alipay_h5_param_str}`);
|
router.push(`${data.data.alipay_h5_param_str}`);
|
||||||
break;
|
break;
|
||||||
|
@ -275,7 +281,7 @@ export default function Pay() {
|
||||||
<div className="flex mt-auto mb-12">
|
<div className="flex mt-auto mb-12">
|
||||||
<div className="basis-1/2 px-2">
|
<div className="basis-1/2 px-2">
|
||||||
<button
|
<button
|
||||||
onClick={() => createOrder("alipay_h5")}
|
onClick={() => createOrder("yeepay_alipay_h5")}
|
||||||
className="flex flex-row h-12 w-full items-center justify-center bg-primary rounded-full py-2"
|
className="flex flex-row h-12 w-full items-center justify-center bg-primary rounded-full py-2"
|
||||||
>
|
>
|
||||||
<svg viewBox="0 0 1024 1024" width="18" height="18">
|
<svg viewBox="0 0 1024 1024" width="18" height="18">
|
||||||
|
@ -289,7 +295,7 @@ export default function Pay() {
|
||||||
</div>
|
</div>
|
||||||
<div className="basis-1/2 px-2">
|
<div className="basis-1/2 px-2">
|
||||||
<button
|
<button
|
||||||
onClick={() => createOrder("wxpay_h5")}
|
onClick={() => createOrder("yeepay_wxpay_h5")}
|
||||||
className="flex flex-row h-12 w-full items-center justify-center bg-primary rounded-full py-2"
|
className="flex flex-row h-12 w-full items-center justify-center bg-primary rounded-full py-2"
|
||||||
>
|
>
|
||||||
<svg viewBox="0 0 1228 1024" width="18" height="18">
|
<svg viewBox="0 0 1228 1024" width="18" height="18">
|
||||||
|
|
Loading…
Reference in New Issue