From 6c44af1cf09ab0a1ec17bc1b945dbd4c07999ab6 Mon Sep 17 00:00:00 2001 From: chenbo <709206448@qq.com> Date: Tue, 21 Nov 2023 10:43:26 +0800 Subject: [PATCH] =?UTF-8?q?add=20=E5=AF=B9=E6=8E=A5=E6=94=AF=E4=BB=98?= =?UTF-8?q?=E7=B3=BB=E7=BB=9F=EF=BC=8C=E5=9B=9E=E8=B0=83=E6=94=B9=E9=80=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/PayController.php | 7 +------ app/common/service/pay/WeChatPayService.php | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) 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'];