修改快递回传方法
This commit is contained in:
parent
01e03a2fce
commit
f8bd13f8df
|
@ -9,10 +9,12 @@ return [
|
|||
[
|
||||
'code' => 'CN7000001000869',
|
||||
'name' => '安能快运',
|
||||
'is_default' => false,
|
||||
],
|
||||
[
|
||||
'code' => 'CN7000001003751',
|
||||
'name' => '跨越',
|
||||
'is_default' => false,
|
||||
],
|
||||
|
||||
],
|
||||
|
@ -20,6 +22,7 @@ return [
|
|||
[
|
||||
'code' => 'STO',
|
||||
'name' => '申通',
|
||||
'is_default' => false,
|
||||
],
|
||||
]
|
||||
],
|
||||
|
|
|
@ -146,7 +146,8 @@ class WmsStrategy
|
|||
{
|
||||
$expressChooseConf = require(dirname(dirname(__FILE__)) . '/config/express_choose.php');
|
||||
$type = self::getOrderType($province, $weight, $expressChooseConf);
|
||||
return $expressChooseConf['logistics'][$type];
|
||||
$expressChooseConf['logistics'][$type][0]['is_default'] = true;
|
||||
return collect([$expressChooseConf['logistics']['toC'], $expressChooseConf['logistics']['toB']])->collapse()->all();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user