git 6 years ago
parent
commit
80cae5372c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Home/Lib/Action/ApiAction.class.php

+ 1 - 1
Home/Lib/Action/ApiAction.class.php

@@ -262,7 +262,7 @@ class ApiAction extends Action {
 		foreach($res as $key => $row){
 			$alterRes = $lngLatAlter->convertBd09ToGcj02($row['Latitude'], $row['Longitude']);
 			$row['Latitude'] = $alterRes['lat'];
-			$row['Longitude'] = $alterRes['lat'];
+			$row['Longitude'] = $alterRes['lng'];
 			$res[$key] = $row; 
 		}
 		json_success('查询成功',$res);