|
@@ -55,7 +55,7 @@ class FreightLogic extends BaseLogic
|
|
|
}
|
|
}
|
|
|
$area_flag = ConfigService::get('shop', 'area_flag');
|
|
$area_flag = ConfigService::get('shop', 'area_flag');
|
|
|
foreach ($goods as &$good) {
|
|
foreach ($goods as &$good) {
|
|
|
-
|
|
|
|
|
|
|
+ outFileLog($expressPrice,'freight','$expressPrice');
|
|
|
$good['total_weight'] = $good['weight'] * $good['goods_num'];
|
|
$good['total_weight'] = $good['weight'] * $good['goods_num'];
|
|
|
$good['total_volume'] = $good['volume'] * $good['goods_num'];
|
|
$good['total_volume'] = $good['volume'] * $good['goods_num'];
|
|
|
|
|
|
|
@@ -73,6 +73,7 @@ class FreightLogic extends BaseLogic
|
|
|
|
|
|
|
|
if($area_flag == 1){
|
|
if($area_flag == 1){
|
|
|
$expressPrice += isset($good['sub_price']) ?? 0;
|
|
$expressPrice += isset($good['sub_price']) ?? 0;
|
|
|
|
|
+ outFileLog($expressPrice,'freight','$expressPrice2');
|
|
|
}else {
|
|
}else {
|
|
|
|
|
|
|
|
|
|
|