From ee866468de1b0cfa800dad12ed971d64b5c5e5dd Mon Sep 17 00:00:00 2001 From: ZweiCD <416931358@qq.com> Date: Thu, 27 Aug 2020 14:50:03 +0800 Subject: [PATCH] update --- src/WmsStrategy.php | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/WmsStrategy.php b/src/WmsStrategy.php index 76e6208..184f60d 100644 --- a/src/WmsStrategy.php +++ b/src/WmsStrategy.php @@ -106,19 +106,6 @@ class WmsStrategy return $skuTotalWeight; } - /** - * 根据商品重量区分bc单,返回可选择的物流快递 - * @param string $province - * @param string $weight - * @return array - */ - public function getLogistics($province, $weight) - { - $expressChooseConf = require(dirname(dirname(__FILE__)) . '/config/express_choose.php'); - $type = self::getOrderType($province, $weight, $expressChooseConf); - return $expressChooseConf['logistics'][$type]; - } - /** * 选择物流公司 * @param string $province @@ -136,6 +123,19 @@ class WmsStrategy ]; } + /** + * 根据商品重量区分bc单,返回可选择的物流快递 + * @param string $province + * @param string $weight + * @return array + */ + static public function getLogistics($province, $weight) + { + $expressChooseConf = require(dirname(dirname(__FILE__)) . '/config/express_choose.php'); + $type = self::getOrderType($province, $weight, $expressChooseConf); + return $expressChooseConf['logistics'][$type]; + } + /** * 判断订单BC类型 * @param $province