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获取回调失败'); }