diff --git a/app/api/controller/PayController.php b/app/api/controller/PayController.php index 7a6ea7fe1..04deefac8 100755 --- a/app/api/controller/PayController.php +++ b/app/api/controller/PayController.php @@ -135,12 +135,7 @@ class PayController extends BaseApiController /** - * @notes app支付回调 - * @return \Psr\Http\Message\ResponseInterface - * @throws \EasyWeChat\Kernel\Exceptions\InvalidArgumentException - * @throws \EasyWeChat\Kernel\Exceptions\RuntimeException - * @throws \ReflectionException - * @throws \Throwable + * @notes 支付系统回调 * @date 2023/2/28 14:21 */ public function notifyApp() diff --git a/app/common/service/pay/WeChatPayService.php b/app/common/service/pay/WeChatPayService.php index 9faf775dd..1a628c559 100755 --- a/app/common/service/pay/WeChatPayService.php +++ b/app/common/service/pay/WeChatPayService.php @@ -355,7 +355,7 @@ class WeChatPayService extends BasePayService /** * @notes 支付回调 */ - public function notify($param) + public function notify($param=[]) { Log::info(['支付回调', $param]); $extra['transaction_id'] = $param['transaction_id'];