From b50a0738fb2035bd4dc4c936f48526c89d11dade Mon Sep 17 00:00:00 2001 From: ctexthuang Date: Tue, 18 Mar 2025 10:33:46 +0800 Subject: [PATCH] feat : wechatPay callback --- app/Service/Common/Pay/Wx/WxJsRechargeBaseService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Service/Common/Pay/Wx/WxJsRechargeBaseService.php b/app/Service/Common/Pay/Wx/WxJsRechargeBaseService.php index b3a6de4..f653e07 100644 --- a/app/Service/Common/Pay/Wx/WxJsRechargeBaseService.php +++ b/app/Service/Common/Pay/Wx/WxJsRechargeBaseService.php @@ -104,7 +104,7 @@ abstract class WxJsRechargeBaseService implements ThirdPayInterface throw new ErrException('wxPay回调解密失败'); } - if (!empty($this->callbackData)) { + if (empty($this->callbackData)) { $this->log->debug(__CLASS__.'wxPay获取回调失败'.json_encode($this->request)); throw new ErrException('wxPay获取回调失败'); }