forked from dyf/fys-Multi-tenant
如果经纬度不变就不去调用地图api
This commit is contained in:
@ -336,8 +336,8 @@ public class AppDeviceBizService {
|
||||
String locationInfo = RedisUtils.getCacheObject(locationKey);
|
||||
if(StringUtils.isNotBlank(locationInfo)){
|
||||
JSONObject jsonObject = JSONObject.parseObject(locationInfo);
|
||||
vo.setLongitude((String)jsonObject.get("longitude"));
|
||||
vo.setLatitude((String)jsonObject.get("latitude"));
|
||||
vo.setLongitude(jsonObject.get("longitude").toString());
|
||||
vo.setLatitude(jsonObject.get("latitude").toString());
|
||||
vo.setAddress((String)jsonObject.get("address"));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user