diff --git a/src/WmsStrategy.php b/src/WmsStrategy.php index 994efe1..591a4d1 100644 --- a/src/WmsStrategy.php +++ b/src/WmsStrategy.php @@ -33,6 +33,7 @@ class WmsStrategy $logistics = $this->chooseLogisticsCompany($params['order_address']['receive_province'], $skuTotalWeight); $params['order_sender_info']['logistics_code'] = $logistics['code']; $params['order_sender_info']['logistics_name'] = $logistics['name']; + $orderLogisticsType = $logistics['type']; } else { $params['order_sender_info']['logistics_code'] = $params['express_code']; $params['order_sender_info']['logistics_name'] = self::getExpressNameByExpressCode($params['express_code']);