mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
refactor(nacos): Roll back to the original solution to solve the problem of compatibility
This commit is contained in:
@@ -35,7 +35,7 @@ import org.springframework.web.client.RestTemplate;
|
||||
* @author xiaojing
|
||||
*/
|
||||
@SpringBootApplication
|
||||
@EnableDiscoveryClient
|
||||
@EnableDiscoveryClient(autoRegister = false)
|
||||
@EnableFeignClients
|
||||
public class ConsumerApplication {
|
||||
|
||||
|
@@ -29,7 +29,7 @@ import org.springframework.web.bind.annotation.RestController;
|
||||
/**
|
||||
* @author xiaojing
|
||||
*/
|
||||
@EnableDiscoveryClient
|
||||
@EnableDiscoveryClient(autoRegister = false)
|
||||
@SpringBootApplication
|
||||
public class ProviderApplication {
|
||||
|
||||
|
Reference in New Issue
Block a user