no message
This commit is contained in:
parent
40f5c1472e
commit
7a73c9b099
|
|
@ -46,8 +46,8 @@ public class BaiduController extends BaseController {
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
double longitude = Double.parseDouble(coordinates[0]); // 经度
|
double longitude = Double.parseDouble(coordinates[1]); // 经度
|
||||||
double latitude = Double.parseDouble(coordinates[1]); // 纬度
|
double latitude = Double.parseDouble(coordinates[0]); // 纬度
|
||||||
|
|
||||||
// 将经纬度添加到返回结果中
|
// 将经纬度添加到返回结果中
|
||||||
json.put("longitude", longitude);
|
json.put("longitude", longitude);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue