删除多余调试

This commit is contained in:
liu 2024-06-29 15:32:38 +08:00
parent 4d4772a035
commit 18c660df09

View File

@ -66,7 +66,6 @@ class PayNotifyLogic extends BaseLogic
public static function balancePay($orderSn, $extra = []) public static function balancePay($orderSn, $extra = [])
{ {
$order = StoreOrder::where('order_id', $orderSn)->findOrEmpty(); $order = StoreOrder::where('order_id', $orderSn)->findOrEmpty();
self::afterPay($order);
$user = User::where('id', $order['uid'])->find(); $user = User::where('id', $order['uid'])->find();
if ($user['now_money'] < $order['pay_price']) { if ($user['now_money'] < $order['pay_price']) {
throw new \Exception('余额不足'); throw new \Exception('余额不足');
@ -219,6 +218,7 @@ class PayNotifyLogic extends BaseLogic
// if($count){ // if($count){
// self::addFlowLog($order); // self::addFlowLog($order);
// } // }
//收银台下单直接到账
// if($order['shipping_type'] == 3){ // if($order['shipping_type'] == 3){
// self::descStock($order['id']); // self::descStock($order['id']);
// } // }