order-pre
parent
d0376a1f00
commit
ca9b805cb6
|
|
@ -110,6 +110,7 @@ class OrderService
|
|||
?string $note = null,
|
||||
?BargainOrder $bargainOrder = null,
|
||||
): Order {
|
||||
if ($shippingAddressId) {
|
||||
foreach ($products as $product) {
|
||||
$sku = $product['sku'];
|
||||
|
||||
|
|
@ -117,6 +118,7 @@ class OrderService
|
|||
throw new BizException('商品库存不足');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$shippingAddress = $this->getShippingAddress($user, $shippingAddressId);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue