1
13693261870
2024-11-13 3fa96b8e7710640c93ead6e07b394e66f43e8b80
src/main/java/com/se/simu/service/DbService.java
@@ -69,7 +69,7 @@
        String token = gedbService.getToken();
        GeDb db = gedbService.getGeDb(token);
        String url = String.format("%sgeo-service/entitydb/map/getConfig?dbid=%s&token=%s", config.getHost(), db.getDbid(), token);
        String url = String.format("%sgeo-service/entitydb/map/config?dbid=%s&token=%s", config.getHost(), db.getDbid(), token);
        String rs = restTemplate.getForObject(url, String.class);
        if (!StringHelper.isEmpty(rs)) {
@@ -107,6 +107,7 @@
            map.put("geometry", g.ExportToWkt());
            map.put("inSR", 4326);
            map.put("outSR", 4326);
        }
        String rs = restTemplate.postForObject(url, map, String.class);