From 97c2b775d72dd66a202da5e6abd0d8f29a18b48c Mon Sep 17 00:00:00 2001
From: liu <1873441552@qq.com>
Date: Fri, 5 Jul 2024 16:55:25 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9B=9E=E8=B0=83=E5=8F=82?=
 =?UTF-8?q?=E6=95=B0=E5=BC=82=E5=B8=B8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 app/api/controller/PayController.php | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/app/api/controller/PayController.php b/app/api/controller/PayController.php
index b73ff3500..a3da0e65f 100644
--- a/app/api/controller/PayController.php
+++ b/app/api/controller/PayController.php
@@ -38,11 +38,8 @@ class PayController extends BaseApiController
                         $app->wechat->success();
                         break;
                     case 'wechat_common':
-                        PayNotifyLogic::handle('wechat_common', $ciphertext['out_trade_no'], $ciphertext);
-                        $app->wechat->success();
-                        break;
                     default:
-                        PayNotifyLogic::handle('wechat_common', $res['out_trade_no'], $res);
+                        PayNotifyLogic::handle('wechat_common', $ciphertext['out_trade_no'], $ciphertext);
                         $app->wechat->success();
                         break;
                 }