From 15b1f66f4d108ac70743255370680ce5506f4226 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A5=9E=E6=A5=BD=E5=9D=82=E3=83=8B=E3=83=A3=E3=83=B3?= Date: Fri, 6 Sep 2024 21:20:45 +0800 Subject: [PATCH] fix(substitute): ConditionalOnMissingBean value mistake MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 神楽坂ニャン --- .../substitute/permissions/login/SubstituleLoginServer.java | 2 +- .../substitute/permissions/user/SubstituteUserServer.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/core-backend/src/main/java/io/dataease/substitute/permissions/login/SubstituleLoginServer.java b/core/core-backend/src/main/java/io/dataease/substitute/permissions/login/SubstituleLoginServer.java index 27e52f2134..88a010a0e8 100644 --- a/core/core-backend/src/main/java/io/dataease/substitute/permissions/login/SubstituleLoginServer.java +++ b/core/core-backend/src/main/java/io/dataease/substitute/permissions/login/SubstituleLoginServer.java @@ -15,7 +15,7 @@ import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @Component -@ConditionalOnMissingBean(name = "userServer") +@ConditionalOnMissingBean(name = "loginServer") @RestController @RequestMapping public class SubstituleLoginServer { diff --git a/core/core-backend/src/main/java/io/dataease/substitute/permissions/user/SubstituteUserServer.java b/core/core-backend/src/main/java/io/dataease/substitute/permissions/user/SubstituteUserServer.java index a5c1493f42..0015979364 100644 --- a/core/core-backend/src/main/java/io/dataease/substitute/permissions/user/SubstituteUserServer.java +++ b/core/core-backend/src/main/java/io/dataease/substitute/permissions/user/SubstituteUserServer.java @@ -13,7 +13,7 @@ import java.util.HashMap; import java.util.Map; @Component -@ConditionalOnMissingBean(name = "loginServer") +@ConditionalOnMissingBean(name = "userServer") @RestController @RequestMapping("/user") public class SubstituteUserServer {