From 82df081fd0d5eb9b306ca137756ecd0d3858231e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Thu, 25 Dec 2025 09:08:23 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8B=B9=E6=9E=9C=E6=94=AF=E4=BB=98=E7=94=9F?= =?UTF-8?q?=E6=88=90=E8=AE=A2=E5=8D=95=20=E5=92=8C=E6=94=AF=E4=BB=98?= =?UTF-8?q?=E9=87=91=E9=A2=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/controller/Payment.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/api/controller/Payment.php b/application/api/controller/Payment.php index 00dfedca..2ab1adb0 100644 --- a/application/api/controller/Payment.php +++ b/application/api/controller/Payment.php @@ -367,6 +367,7 @@ class Payment extends Controller if (!$verifyResult) { return V(0, '支付凭证验证失败'); } + var_dump($verifyResult);die; // 2. 从苹果返回的凭证中解析实际支付金额 $applePayAmount = $verifyResult['receipt']['in_app'][0]['price'] ?? 0; // 苹果返回的实际支付金额