mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-12-02 03:48:47 +08:00
订单分组多订单场景下仅支持快递模式
This commit is contained in:
parent
629e94c609
commit
16183a1139
@ -55,6 +55,12 @@ class OrderSplitService
|
||||
|
||||
// 商品仓库集合
|
||||
$warehouse_goods = self::GoodsWarehouseAggregate($params);
|
||||
// 存在多个订单,但是订单模式非快递则设置为快递模式
|
||||
if(count($warehouse_goods) > 1 && $params['site_model'] != 0)
|
||||
{
|
||||
$params['site_model'] = 0;
|
||||
$params['common_site_type'] = 0;
|
||||
}
|
||||
|
||||
// 分组商品基础处理
|
||||
$data = self::GroupGoodsBaseHandle($warehouse_goods, $params);
|
||||
|
Loading…
Reference in New Issue
Block a user