Merge pull request 'feat(PayNotifyLogic): 修改收银台支付逻辑,移除订单状态设置' (#191) from dev into main

Reviewed-on: #191
This commit is contained in:
mkm 2024-09-05 22:21:48 +08:00
commit 7a8bf9f5c6

View File

@ -255,7 +255,7 @@ 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;
// $order->status = 2;
} else {
$capitalFlowDao = new CapitalFlowLogic($user);
//微信支付和用户余额无关