订单商户类型
This commit is contained in:
parent
85a6b5a8f6
commit
2434e6f2a6
@ -1822,6 +1822,11 @@ class StoreOrderRepository extends BaseRepository
|
|||||||
/** @var ProductLabelRepository $labelRepo */
|
/** @var ProductLabelRepository $labelRepo */
|
||||||
$labelRepo = app()->make(ProductLabelRepository::class);
|
$labelRepo = app()->make(ProductLabelRepository::class);
|
||||||
foreach ($list as &$order) {
|
foreach ($list as &$order) {
|
||||||
|
if(in_array($order['merchant']['type_id'],Enum::Lihai_Store)){
|
||||||
|
$order['merchant']['cloud_warehouse'] = "里海云仓";
|
||||||
|
}else{
|
||||||
|
$order['merchant']['cloud_warehouse'] = "综合云市场";
|
||||||
|
}
|
||||||
$labelRepo->isOrder = true;
|
$labelRepo->isOrder = true;
|
||||||
$labelRepo->merTypeId = $order['merchant']['type_id'];
|
$labelRepo->merTypeId = $order['merchant']['type_id'];
|
||||||
$labelRepo->isWholeSale = $order['sale_type'] == Enum::SALE_TYPE_WHOLESALE;
|
$labelRepo->isWholeSale = $order['sale_type'] == Enum::SALE_TYPE_WHOLESALE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user