feat(OrderLogic): 修改订单逻辑以支持新活动与库存计算

This commit is contained in:
mkm 2024-06-09 15:44:58 +08:00
parent 214b876c37
commit 49b49590c2

View File

@ -163,7 +163,7 @@ class OrderLogic extends BaseLogic
'store_id' => $params['store_id'] ?? 0,
'shipping_type' => $params['shipping_type'] ?? 1,//配送方式 1=快递 2=门店自提
'activity' =>'九折',
'activity_price' =>self::$profit,
'activity_price' =>self::$activity_price,
'activities'=>$check,
];
$order['default_delivery'] = 0;