Merge pull request 'dev' (#530) from dev into main

Reviewed-on: https://gitea.lihaink.cn/mkm/multi-store/pulls/530
This commit is contained in:
mkm 2025-02-22 10:40:23 +08:00
commit 1db6d28560

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);
}