修改现金付款的直接修改状态

This commit is contained in:
liu 2024-07-02 17:48:27 +08:00
parent 4c511d39b3
commit 5de3cf3a97

View File

@ -627,6 +627,9 @@ class PayNotifyLogic extends BaseLogic
$order->paid = 1;
$order->pay_time = time();
$order->status = 2;
if ($order['reservation'] ==1) {
$order->status = 1;
}
if (!$order->save()) {
throw new \Exception('订单保存出错');
}