From da9c44b809cae767129b1a43b0b95b7fe70b4293 Mon Sep 17 00:00:00 2001 From: chenbo <709206448@qq.com> Date: Tue, 21 Nov 2023 17:29:04 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=80=E6=AC=BE=E5=9B=9E=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/service/pay/WeChatPayMerchantService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/service/pay/WeChatPayMerchantService.php b/app/common/service/pay/WeChatPayMerchantService.php index 579e9e2..5b62670 100644 --- a/app/common/service/pay/WeChatPayMerchantService.php +++ b/app/common/service/pay/WeChatPayMerchantService.php @@ -280,7 +280,7 @@ class WeChatPayMerchantService extends BasePayService if($message['refund_status'] === 'SUCCESS') { $refundOrder = RefundOrder::where(['out_trade_no', $message['out_trade_no'], 'refund_sn'=>$message['out_refund_no']])->find(); // 防止重复操作 - if ($refundOrder['refund_status'] == 1 && !empty($order['refund_id'])) { + if ($refundOrder['refund_status'] == 1 && !empty($refundOrder['refund_id'])) { return true; } $refundOrder->refund_status = 1;