|
@@ -298,7 +298,7 @@ class UserOrderService{
|
|
|
}
|
|
|
#上门送
|
|
|
elseif ($this->order['pick_up']==2 && $this->hasAir(2)){
|
|
|
- $send_price=$this->pickup($this->to_area['air_longitude'],$this->to_area['air_latitude'],$this->order['from_longitude'],$this->order['from_latitude']);
|
|
|
+ $send_price=$this->pickup($this->to_area['air_longitude'],$this->to_area['air_latitude'],$this->order['to_longitude'],$this->order['to_latitude']);
|
|
|
$total=bcadd($total,$send_price);
|
|
|
$get_send_price=$send_price;
|
|
|
}
|
|
@@ -306,7 +306,7 @@ class UserOrderService{
|
|
|
elseif ($this->order['pick_up']==4 && $this->hasAir(4)){
|
|
|
$get_price=$this->pickup($this->from_area['air_longitude'],$this->from_area['air_latitude'],$this->order['from_longitude'],$this->order['from_latitude']);
|
|
|
$total=bcadd($total,$get_price);
|
|
|
- $send_price=$this->pickup($this->to_area['air_longitude'],$this->to_area['air_latitude'],$this->order['from_longitude'],$this->order['from_latitude']);
|
|
|
+ $send_price=$this->pickup($this->to_area['air_longitude'],$this->to_area['air_latitude'],$this->order['to_longitude'],$this->order['to_latitude']);
|
|
|
$total=bcadd($total,$send_price);
|
|
|
$get_send_price=bcadd($get_price,$send_price);
|
|
|
}
|