diff --git a/src/main/java/com/telpo/dipperposition/controller/DipperPositionController.java b/src/main/java/com/telpo/dipperposition/controller/DipperPositionController.java index bb3f9d2..7556c5c 100644 --- a/src/main/java/com/telpo/dipperposition/controller/DipperPositionController.java +++ b/src/main/java/com/telpo/dipperposition/controller/DipperPositionController.java @@ -53,7 +53,7 @@ public class DipperPositionController { content = configService.getConfig(dataId, group, 5000); log.info(content); - content = configService.getConfig(dataId, group, 5000); + content = configService.getConfig(positionId, group, 5000); log.info(content); boolean isRemoveOk = configService.removeConfig(dataId, group); @@ -64,6 +64,8 @@ public class DipperPositionController { log.info(content); Thread.sleep(30000); + System.out.println(content); + return "Helle world!"; //ContextLoader.getCurrentWebApplicationContext().toString(); } }