xiaogang hace 3 años
padre
commit
4122e0dc51
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      app/Services/DynamicService.php

+ 2 - 1
app/Services/DynamicService.php

xqd
@@ -242,8 +242,9 @@ class DynamicService
                 if(!$v_user['latitude'] || !$v_user['longitude']){
                     $distance = 0;
                 }else{
-                    dd($lat,$lng,1);
+
                     $distance = GetDistance($lat,$lng,$v_user['latitude'],$v_user['longitude']);
+                    dd($lat,$lng,1,$distance);
                 }
             }else{
                 dd($lat,$lng,2);