forked from github/dataease
fix(substitute): ConditionalOnMissingBean value mistake
Signed-off-by: 神楽坂ニャン <lenvisual@gmail.com>
This commit is contained in:
parent
6dbd7d92e8
commit
15b1f66f4d
@ -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 {
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user