6
0
Fork 0
release
panliang 2022-05-12 13:31:20 +08:00
parent dcb9144c32
commit bc70d2e565
2 changed files with 2 additions and 2 deletions

View File

@ -147,7 +147,7 @@ class OrderController extends Controller
$isSettlable = true; $isSettlable = true;
} }
(new OrderService())->confirm($order); (new OrderService())->confirm($order, $isSettlable);
}); });
return response()->noContent(); return response()->noContent();

View File

@ -1056,7 +1056,7 @@ class OrderService
'completed_at' => now(), 'completed_at' => now(),
]); ]);
(new DistributeService())->storeByOrder(); (new DistributeService())->storeByOrder($order);
} }
/** /**