fix(substitute): ConditionalOnMissingBean value mistake

Signed-off-by: 神楽坂ニャン <lenvisual@gmail.com>
This commit is contained in:
神楽坂ニャン 2024-09-06 21:20:45 +08:00
parent 6dbd7d92e8
commit 15b1f66f4d
No known key found for this signature in database
GPG Key ID: 74BA263979F6763C
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; import org.springframework.web.bind.annotation.RestController;
@Component @Component
@ConditionalOnMissingBean(name = "userServer") @ConditionalOnMissingBean(name = "loginServer")
@RestController @RestController
@RequestMapping @RequestMapping
public class SubstituleLoginServer { public class SubstituleLoginServer {

View File

@ -13,7 +13,7 @@ import java.util.HashMap;
import java.util.Map; import java.util.Map;
@Component @Component
@ConditionalOnMissingBean(name = "loginServer") @ConditionalOnMissingBean(name = "userServer")
@RestController @RestController
@RequestMapping("/user") @RequestMapping("/user")
public class SubstituteUserServer { public class SubstituteUserServer {