修改预订单追加商品

This commit is contained in:
lewis 2025-02-22 10:39:36 +08:00
parent e3737176e4
commit de912712ee

View File

@ -103,7 +103,7 @@ class BeforehandOrderCartInfoLogic extends BaseLogic
];
}
(new BeforehandOrderCartInfo())->saveAll($datas);
if ($order['order_type'] == 7) {
if ($order['order_type'] == 7 || $order['order_type'] == 9) {
PurchaseProductOffer::insertAll($offer);
}