From 12a8143c29e77245c76844dbb3255414b92f5b6f Mon Sep 17 00:00:00 2001 From: linwl <304115325@qq.com> Date: Tue, 12 Jan 2021 10:25:09 +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, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/telpo/dipperposition/controller/DipperPositionController.java b/src/main/java/com/telpo/dipperposition/controller/DipperPositionController.java index dd96b62..9840242 100644 --- a/src/main/java/com/telpo/dipperposition/controller/DipperPositionController.java +++ b/src/main/java/com/telpo/dipperposition/controller/DipperPositionController.java @@ -24,7 +24,7 @@ import java.util.List; public class DipperPositionController { @RequestMapping("/getPos") - public String getCampusListJson() { + public String getPos() { return "Helle world!"; } } diff --git a/src/main/resources/bootstrap-dev.yaml b/src/main/resources/bootstrap-dev.yaml index 6f36d67..9522e9b 100644 --- a/src/main/resources/bootstrap-dev.yaml +++ b/src/main/resources/bootstrap-dev.yaml @@ -1,4 +1,6 @@ spring: + profiles: + active: dev main: allow-bean-definition-overriding: true application: