From b1bcdc40275456d9aea1776cf80c48bc7b7c9b8f Mon Sep 17 00:00:00 2001 From: linwl <304115325@qq.com> Date: Tue, 12 Jan 2021 11:08:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E8=AF=BB=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dipperposition/controller/DipperPositionController.java | 2 +- src/main/resources/bootstrap-dev.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/telpo/dipperposition/controller/DipperPositionController.java b/src/main/java/com/telpo/dipperposition/controller/DipperPositionController.java index e3d6fb4..6a9b7bc 100644 --- a/src/main/java/com/telpo/dipperposition/controller/DipperPositionController.java +++ b/src/main/java/com/telpo/dipperposition/controller/DipperPositionController.java @@ -26,6 +26,6 @@ public class DipperPositionController { @RequestMapping("/getPos") public String getPos() { - return "Helle world!" + ContextLoader.getCurrentWebApplicationContext().toString(); + return "Helle world!"; //ContextLoader.getCurrentWebApplicationContext().toString(); } } diff --git a/src/main/resources/bootstrap-dev.yaml b/src/main/resources/bootstrap-dev.yaml index 44b75f8..1656353 100644 --- a/src/main/resources/bootstrap-dev.yaml +++ b/src/main/resources/bootstrap-dev.yaml @@ -2,7 +2,7 @@ spring: main: allow-bean-definition-overriding: true application: - name: dipperposition-service-dev.yaml + name: dipperposition-service-dev cloud: nacos: config: