shizhongqi 4 ماه پیش
والد
کامیت
bd2613c7e4
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app-hd/controllers/GhsController.php

+ 1 - 1
app-hd/controllers/GhsController.php

@@ -456,7 +456,7 @@ class GhsController extends BaseController
             // WGS84 → GCJ-02 转换
             // WGS84 → GCJ-02 转换
             $re = \common\components\mapUtil::wgs84ToGcj02($toLnt, $toLat);
             $re = \common\components\mapUtil::wgs84ToGcj02($toLnt, $toLat);
             $toLat = $re['lat'];
             $toLat = $re['lat'];
-            $toLnt = $re['lnt'];
+            $toLnt = $re['lng'];
         }
         }
 
 
         $where = [];
         $where = [];