feat(OrderLogic): 修改订单逻辑以支持新活动与库存计算
This commit is contained in:
parent
f7a321c201
commit
ad9c637c50
@ -157,7 +157,10 @@ class OrderLogic extends BaseLogic
|
||||
'reservation_time' => $params['reservation_time'] ?? null,
|
||||
'cart_id' => implode(',', $cartId),
|
||||
'store_id' => $params['store_id'] ?? 0,
|
||||
'shipping_type' => $params['shipping_type'] ?? 1//配送方式 1=快递 ,2=门店自提
|
||||
'shipping_type' => $params['shipping_type'] ?? 1,//配送方式 1=快递 ,2=门店自提
|
||||
'activity' =>'九折',
|
||||
'activity_price' =>self::$profit,
|
||||
'activities'=>$check,
|
||||
];
|
||||
$order['default_delivery'] = 0;
|
||||
if($params['store_id']){
|
||||
|
Loading…
x
Reference in New Issue
Block a user