From 85840c0925fef07f1a3e7e9deafc1d1091d86e6d Mon Sep 17 00:00:00 2001 From: BobCoderS9 <70191444+BobCoderS9@users.noreply.github.com> Date: Wed, 23 Jun 2021 21:23:02 +0800 Subject: [PATCH] =?UTF-8?q?bug:=20=E4=BF=AE=E5=A4=8DTHeadPay=E6=94=AF?= =?UTF-8?q?=E4=BB=98=E5=9B=9E=E8=B0=83=E7=9A=84bug=20(#181)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Controllers/Gateway/THeadPay.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Gateway/THeadPay.php b/app/Http/Controllers/Gateway/THeadPay.php index 20c3c2c8..8a2dcc46 100644 --- a/app/Http/Controllers/Gateway/THeadPay.php +++ b/app/Http/Controllers/Gateway/THeadPay.php @@ -51,7 +51,7 @@ class THeadPay extends AbstractPayment public function notify($request): void { - if ($this->verify_notify($request)) { + if ($this->verify_notify($request->post())) { $tradeNo = $request->input('out_trade_no'); if ($tradeNo) { if ($this->paymentReceived($tradeNo)) {