This commit is contained in:
yezian 2024-04-18 21:47:34 +08:00
parent c0558bca36
commit 9b43cde6b6
1 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ export default function Pay({ params }) {
} }
); );
const temData = await response.json(); const temData = await response.json();
console.log(temData); console.log(temData, JSON.stringify(body));
if (temData.ret === -1) { if (temData.ret === -1) {
Toast.show({ Toast.show({
content: temData.msg, content: temData.msg,
@ -71,7 +71,7 @@ export default function Pay({ params }) {
} }
); );
const temData = await response.json(); const temData = await response.json();
console.log(temData); console.log(temData, JSON.stringify(body));
if (temData.ret === -1) return; if (temData.ret === -1) return;
setSuperfanshipData(temData.data); setSuperfanshipData(temData.data);
} catch (error) { } catch (error) {