git 6 년 전
부모
커밋
80cae5372c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);