diff --git a/app/common/logic/PayNotifyLogic.php b/app/common/logic/PayNotifyLogic.php index 9c14a4c1..90de8e50 100644 --- a/app/common/logic/PayNotifyLogic.php +++ b/app/common/logic/PayNotifyLogic.php @@ -29,8 +29,8 @@ class PayNotifyLogic extends BaseLogic public static function handle($action, $orderSn, $extra = []) { - Db::startTrans(); - try { + // Db::startTrans(); + // try { if ($action != 'cash_pay' && $action != 'balancePay') { $payNotifyLogLogic = new PayNotifyLogLogic(); if ($action == 'refund') { @@ -40,13 +40,13 @@ class PayNotifyLogic extends BaseLogic } } self::$action($orderSn, $extra); - Db::commit(); + // Db::commit(); return true; - } catch (\Exception $e) { - Db::rollback(); - Log::error('支付回调处理失败' . $e->getMessage() . ',lien:' . $e->getLine() . ',file:' . $e->getFile()); - throw new \Exception($e->getMessage()); - } + // } catch (\Exception $e) { + // Db::rollback(); + // Log::error('支付回调处理失败' . $e->getMessage() . ',lien:' . $e->getLine() . ',file:' . $e->getFile()); + // throw new \Exception($e->getMessage()); + // } } /**