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

This commit is contained in:
mkm 2024-06-09 15:56:19 +08:00
parent 067b9e1911
commit e7ad3655c3

View File

@ -164,7 +164,7 @@ class OrderLogic extends BaseLogic
'shipping_type' => $params['shipping_type'] ?? 1,//配送方式 1=快递 2=门店自提
'activity' =>'减免',
'activity_price' =>self::$activity_price,
'activities'=>$check,
'activities'=>$check['status'],
];
$order['default_delivery'] = 0;
if($params['store_id']){