shizhongqi 4 mesi fa
parent
commit
bd2613c7e4
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 转换
             $re = \common\components\mapUtil::wgs84ToGcj02($toLnt, $toLat);
             $toLat = $re['lat'];
-            $toLnt = $re['lnt'];
+            $toLnt = $re['lng'];
         }
 
         $where = [];