From 0faba2c5b71e41976052a23dfeb4d4b79720ae86 Mon Sep 17 00:00:00 2001 From: elf <360197197@qq.com> Date: Sat, 9 Sep 2023 16:41:06 +0800 Subject: [PATCH] yx --- app/Controller/Payment/NotifyController.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/Controller/Payment/NotifyController.php b/app/Controller/Payment/NotifyController.php index 85aaf18..6ca1bd0 100644 --- a/app/Controller/Payment/NotifyController.php +++ b/app/Controller/Payment/NotifyController.php @@ -314,6 +314,10 @@ class NotifyController extends AbstractController ] ); - $baofu->notifySuccess(); + if ($result == 'success') { + return $baofu->notifySuccess(); + } else { + return 'fail'; + } } }