添加支付白名单

This commit is contained in:
yezian 2024-02-18 23:36:43 +08:00
parent daa8ec1c64
commit 89bfff2d96
2 changed files with 10 additions and 0 deletions

View File

@ -10,6 +10,11 @@ export default function Pay() {
const router = useRouter();
const alipayBlock = () => {
const base = webviewBaseRequest();
if (base?.mid === 161) {
createOrder("alipay_h5");
return;
}
Toast.show({
content: "支付渠道维护升级中请24小时后再试",
});

View File

@ -22,6 +22,11 @@ export default function Vip() {
const router = useRouter();
const alipayBlock = () => {
const base = webviewBaseRequest();
if (base?.mid === 161) {
createOrder("alipay_h5");
return;
}
Toast.show({
content: "支付渠道维护升级中请24小时后再试",
});