|
|
@@ -645,8 +645,8 @@ class PurchaseController extends BaseController
|
|
|
$perKmPrice = $shCurrentConfig['perKmPrice'] ?? 0;//超出起步,每公里加收金额
|
|
|
$changeRate = $shCurrentConfig['changeRate'] ?? 0;//负值时为降价百分比,正值时为涨价百分比
|
|
|
if ($startKm <= 0 || $startPrice <= 0 || $perKmPrice <= 0) {
|
|
|
- util::fail('算运费失败,请更换配送方式');
|
|
|
noticeUtil::push("算运费失败,请更换配送方式 startKm {$startKm} startPrice {$startPrice} perKmPrice {$perKmPrice}", '15280215347');
|
|
|
+ util::fail('算运费失败,请更换配送方式');
|
|
|
}
|
|
|
//计算客户到店的距离,骑电动车
|
|
|
$distanceRespond = mapUtil::calcShopDistanceByEleBike($custom, $ghsShopInfo);
|