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