Merge pull request #12073 from Lensual/fix-substitute-annotation

fix(substitute): ConditionalOnMissingBean value mistake
This commit is contained in:
maninhill 2024-09-08 08:34:37 +08:00 committed by GitHub
commit 4e57b468b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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 {