调整信用购订单支付状态判断

This commit is contained in:
luofei 2023-07-08 14:38:27 +08:00
parent 451a8001b2
commit 3e8cf54254

View File

@ -2535,13 +2535,15 @@ class StoreOrderRepository extends BaseRepository
} else {
$order->status = StoreOrder::STATUS_WAIT_PAY;
}
$groupOrder->paid = 1;
$groupOrder->save();
$order->paid = 1;
$order->save();
Db::commit();
} catch (\Exception $e) {
Db::rollback();
throw new Exception($e->getMessage());
}
}
/**