This commit is contained in:
ZweiCD 2020-08-27 17:44:21 +08:00
parent ce1efee9b1
commit 4503cca8bd

View File

@ -33,6 +33,7 @@ class WmsStrategy
$logistics = $this->chooseLogisticsCompany($params['order_address']['receive_province'], $skuTotalWeight); $logistics = $this->chooseLogisticsCompany($params['order_address']['receive_province'], $skuTotalWeight);
$params['order_sender_info']['logistics_code'] = $logistics['code']; $params['order_sender_info']['logistics_code'] = $logistics['code'];
$params['order_sender_info']['logistics_name'] = $logistics['name']; $params['order_sender_info']['logistics_name'] = $logistics['name'];
$orderLogisticsType = $logistics['type'];
} else { } else {
$params['order_sender_info']['logistics_code'] = $params['express_code']; $params['order_sender_info']['logistics_code'] = $params['express_code'];
$params['order_sender_info']['logistics_name'] = self::getExpressNameByExpressCode($params['express_code']); $params['order_sender_info']['logistics_name'] = self::getExpressNameByExpressCode($params['express_code']);