xiaogang 4 years ago
parent
commit
699d87d52f
1 changed files with 1 additions and 1 deletions
  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);
             }