添加支付白名单
This commit is contained in:
parent
daa8ec1c64
commit
89bfff2d96
|
@ -10,6 +10,11 @@ export default function Pay() {
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
|
||||||
const alipayBlock = () => {
|
const alipayBlock = () => {
|
||||||
|
const base = webviewBaseRequest();
|
||||||
|
if (base?.mid === 161) {
|
||||||
|
createOrder("alipay_h5");
|
||||||
|
return;
|
||||||
|
}
|
||||||
Toast.show({
|
Toast.show({
|
||||||
content: "支付渠道维护升级中,请24小时后再试",
|
content: "支付渠道维护升级中,请24小时后再试",
|
||||||
});
|
});
|
||||||
|
|
|
@ -22,6 +22,11 @@ export default function Vip() {
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
|
||||||
const alipayBlock = () => {
|
const alipayBlock = () => {
|
||||||
|
const base = webviewBaseRequest();
|
||||||
|
if (base?.mid === 161) {
|
||||||
|
createOrder("alipay_h5");
|
||||||
|
return;
|
||||||
|
}
|
||||||
Toast.show({
|
Toast.show({
|
||||||
content: "支付渠道维护升级中,请24小时后再试",
|
content: "支付渠道维护升级中,请24小时后再试",
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue