Browse Source

bug: 修复THeadPay支付回调的bug (#181)

BobCoderS9 4 years ago
parent
commit
85840c0925
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/Gateway/THeadPay.php

+ 1 - 1
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)) {