ios禁止充值会员

This commit is contained in:
jueweijue 2024-06-28 12:27:16 +08:00
parent 00dd2c68e9
commit 1b174a0ee0
1 changed files with 6 additions and 0 deletions

View File

@ -74,6 +74,12 @@ export default function Vip() {
const [isLoading, setIsLoading] = useState(false); const [isLoading, setIsLoading] = useState(false);
const createOrder = async (type = "alipay_h5") => { const createOrder = async (type = "alipay_h5") => {
const base = webviewBaseRequest(); const base = webviewBaseRequest();
if (base?.b_dt === 1) {
Toast.show({
content: "ios暂时无法开通会员请等待版本更新",
});
return;
}
const body = { const body = {
...base, ...base,
product_id: "membership", product_id: "membership",