修改微信回调逻辑

This commit is contained in:
liu 2024-06-26 19:52:02 +08:00
parent 8804ccef93
commit 5a4bd318d2

View File

@ -232,7 +232,8 @@ class PayNotifyLogic extends BaseLogic
$user = User::where('id', $order['uid'])->find();
if ($order->pay_type == OrderEnum::CASHIER_ORDER_PAY || $order->pay_type == OrderEnum::CASHIER_ORDER_ALI_PAY) { //收银台支付
$order->status = 2;
self::afterPay($order, $extra['transaction_id']);
// self::afterPay($order, $extra['transaction_id']);
self::addUserSing($order);
} else {
$capitalFlowDao = new CapitalFlowLogic($user);
//微信支付和用户余额无关