Commit 0357ea10 authored by chenhao's avatar chenhao

修改获取经纬度的方法

parent 2d37fb13
...@@ -96,9 +96,7 @@ public class KeySiteController extends BaseController { ...@@ -96,9 +96,7 @@ public class KeySiteController extends BaseController {
getBulid(Long.parseLong(parentId)); getBulid(Long.parseLong(parentId));
} }
} else { } else {
ResponseModel<Object> equipLongitudeAndLatitudeObj = equipFeignClient return equipjSONObject;
.getBuildingToLongitudeAndLatitude(equipjSONObject.getString("parentId"));
return JSONObject.parseObject(JSONObject.toJSONString(equipLongitudeAndLatitudeObj.getResult()));
} }
return null; return null;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment