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:
commit
9aa3a72a78
|
@ -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