xiaogang hace 4 años
padre
commit
699d87d52f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Services/DynamicService.php

+ 1 - 1
app/Services/DynamicService.php

xqd
@@ -128,7 +128,7 @@ class DynamicService
                 $distance = GetDistance($lat,$lng,$v['latitude'],$v['longitude']);
             }
             if($distance>=1){
-                $distance = round($distance);
+                $distance = round($distance,1);
             }else{
                 $distance = round($distance*1000);
             }