@EnableDiscoveryClient(autoRegister=false)
或者在配置文件里
spring.cloud.service-registry.auto-registration.enabled=false
转载于:https://www.cnblogs.com/shamo89/p/7918579.html
@EnableDiscoveryClient(autoRegister=false)
或者在配置文件里
spring.cloud.service-registry.auto-registration.enabled=false
转载于:https://www.cnblogs.com/shamo89/p/7918579.html