From 5099f49b00c0a4edbcb24b36775a50e34995fe43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Mon, 3 Mar 2025 23:07:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E6=94=AF=E4=BB=98?= =?UTF-8?q?=E9=80=9A=E7=9F=A5=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/think-plugs-wechat/src/service/PaymentService.php | 2 +- plugin/think-plugs-wechat/src/view/config/payment.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/think-plugs-wechat/src/service/PaymentService.php b/plugin/think-plugs-wechat/src/service/PaymentService.php index 5d5050c5d..2fbdf4e56 100644 --- a/plugin/think-plugs-wechat/src/service/PaymentService.php +++ b/plugin/think-plugs-wechat/src/service/PaymentService.php @@ -148,7 +148,7 @@ class PaymentService public static function notify(?array $data = null): Response { try { - $notify = static::withPayment()->notify(); + $notify = static::withPayment()->notify(Library::$sapp->request->post()); $result = empty($notify['result']) ? [] : json_decode($notify['result'], true); if (empty($result) || !is_array($result)) return response('error', 500); //订单支付通知处理 diff --git a/plugin/think-plugs-wechat/src/view/config/payment.html b/plugin/think-plugs-wechat/src/view/config/payment.html index 4888da6e3..e600781ba 100644 --- a/plugin/think-plugs-wechat/src/view/config/payment.html +++ b/plugin/think-plugs-wechat/src/view/config/payment.html @@ -42,7 +42,7 @@
- 微信 V3 支付证书公钥MCH_V3_PAYCERT + 微信 V3 支付公钥文件MCH_V3_PAYCERT