From 91dec072e82f6b74ab7fb34ba5d04ff2da57b499 Mon Sep 17 00:00:00 2001 From: lqmac Date: Thu, 8 Aug 2024 21:33:09 +0800 Subject: [PATCH] 1 --- app/common/library/payment/gateway/driver/Huifu.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/common/library/payment/gateway/driver/Huifu.php b/app/common/library/payment/gateway/driver/Huifu.php index 5cf3db8d..9cc4d0f5 100644 --- a/app/common/library/payment/gateway/driver/Huifu.php +++ b/app/common/library/payment/gateway/driver/Huifu.php @@ -249,6 +249,8 @@ class Huifu extends Driver $headers = ["Authorization:".$authorization]; $data = httpRequest($refund_url, "POST", json_encode($params), $headers, false); + //var_dump($data); + if ($data['errCode'] != "SUCCESS") { $this->throwError($data['errMsg']); }