From 18c660df094c91855dfa43ece3a71ffd8f090e6d Mon Sep 17 00:00:00 2001
From: liu <1873441552@qq.com>
Date: Sat, 29 Jun 2024 15:32:38 +0800
Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99=E8=B0=83?=
 =?UTF-8?q?=E8=AF=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 app/common/logic/PayNotifyLogic.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app/common/logic/PayNotifyLogic.php b/app/common/logic/PayNotifyLogic.php
index 5adc09b02..e5852bd60 100644
--- a/app/common/logic/PayNotifyLogic.php
+++ b/app/common/logic/PayNotifyLogic.php
@@ -66,7 +66,6 @@ class PayNotifyLogic extends BaseLogic
     public static function balancePay($orderSn, $extra = [])
     {
         $order = StoreOrder::where('order_id', $orderSn)->findOrEmpty();
-        self::afterPay($order);
         $user = User::where('id', $order['uid'])->find();
         if ($user['now_money'] < $order['pay_price']) {
             throw new \Exception('余额不足');
@@ -219,9 +218,10 @@ class PayNotifyLogic extends BaseLogic
         //        if($count){
         //            self::addFlowLog($order);
         //        }
-        //        if($order['shipping_type'] == 3){
+            //收银台下单直接到账
+//                if($order['shipping_type'] == 3){
         //            self::descStock($order['id']);
-        //        }
+//                }
 
 
         // Redis::send('push-platform-print', ['id' => $order['id']], 60);