|
|
@@ -122,12 +122,12 @@ class OrderController extends BaseController
|
|
|
//运费计算方式
|
|
|
$freightType = 0;
|
|
|
if ($freightType == 0 && $needSend == 1) {
|
|
|
- $lat = $post['latitude'];//收货人纬度
|
|
|
- $lng = $post['longitude'];//收货人经度
|
|
|
- $respond = ExpressService::getUserDistance($lng, $lat, $defaultShopId, $this->sjExtend);
|
|
|
- $sendCost = isset($respond['fee']) ? $respond['fee'] : 0;
|
|
|
+ //$lat = $post['latitude']??'';//收货人纬度
|
|
|
+ //$lng = $post['longitude']??'';//收货人经度
|
|
|
+ //$respond = ExpressService::getUserDistance($lng, $lat, $defaultShopId, $this->sjExtend);
|
|
|
+ //$sendCost = isset($respond['fee']) ? $respond['fee'] : 0;
|
|
|
}
|
|
|
- $post['sendCost'] = $sendCost;
|
|
|
+ //$post['sendCost'] = $sendCost;
|
|
|
|
|
|
$prePrice = stringUtil::calcAdd($sendCost, $totalGoodsPrice);
|
|
|
|