Merge pull request '添加支付白名单' (#51) from feat-20240218 into main

Reviewed-on: https://git.wishpal.cn/wishpal_ironfan/tiefen_space_web/pulls/51
This commit is contained in:
yezian 2024-02-18 23:37:04 +08:00
commit 9aa3a72a78
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小时后再试",
});