6
0
Fork 0
base
Jing Li 2023-10-30 10:16:21 +08:00
parent 13058f86c1
commit 336153fd9d
1 changed files with 2 additions and 2 deletions

View File

@ -234,7 +234,7 @@ class OrderService
$coupon?->markAsUse(); $coupon?->markAsUse();
if ($order->total_amount === 0) { if ($order->total_amount === 0) {
$this->pay($order, PayWay::Balance); $this->pay($order, PayWay::None);
$order->refresh(); $order->refresh();
} }
@ -329,7 +329,7 @@ class OrderService
$coupon?->markAsUse(); $coupon?->markAsUse();
if ($order->total_amount === 0) { if ($order->total_amount === 0) {
$this->pay($order, PayWay::Balance); $this->pay($order, PayWay::None);
$order->refresh(); $order->refresh();
} }