Merge pull request '修改微信回调逻辑' (#19) from dev into main

Reviewed-on: #19
This commit is contained in:
mkm 2024-06-26 19:53:25 +08:00
commit a6ccf754b4

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);
//微信支付和用户余额无关