From 19e9a6c2bb6a87efa19d2fa28029fb761064c9d2 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Sat, 20 Jul 2024 21:34:50 +0800 Subject: [PATCH] feat(PayNotifyLogic): Adjusted reservation and source conditions in payment notification logic --- app/common/logic/PayNotifyLogic.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/common/logic/PayNotifyLogic.php b/app/common/logic/PayNotifyLogic.php index 2949981da..b9bfe9b6f 100644 --- a/app/common/logic/PayNotifyLogic.php +++ b/app/common/logic/PayNotifyLogic.php @@ -106,7 +106,7 @@ class PayNotifyLogic extends BaseLogic ]; self::dealGoodsLeft($checkArr, $order['uid'], $order['id']); } - if ($order && $order['store_id'] && $order['reservation'] !=1) { + if ($order && $order['store_id'] && $order['reservation'] !=1 && $order['source']==1) { $params = [ 'verify_code' => $order['verify_code'], 'store_id' => $order['store_id'], @@ -211,7 +211,7 @@ class PayNotifyLogic extends BaseLogic // } // self::addUserSing($order); self::afterPay($order); - if ($order && $order['store_id'] && $order['reservation'] !=1) { + if ($order && $order['store_id'] && $order['reservation'] !=1 && $order['source']==1) { $params = [ 'verify_code' => $order['verify_code'], 'store_id' => $order['store_id'],