xiaogang hace 4 años
padre
commit
0be9ad0011
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
@@ -127,7 +127,7 @@ class DynamicService
                 $distance = GetDistance($lat,$lng,$v['latitude'],$v['longitude']);
             }
             if($distance>=1){
-                $distance = round($distance,1);
+                $distance = round($distance);
             }else{
                 $distance = round($distance*1000);
             }