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'],