1
0
mirror of https://gitee.com/mirrors/Spring-Cloud-Alibaba.git synced 2021-06-26 13:25:11 +08:00

use EnableDiscoveryClient

This commit is contained in:
Harris Zhang 2019-02-24 11:16:56 +08:00 committed by GitHub
parent 92519a7a09
commit 10206af82b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,7 @@ import org.springframework.web.bind.annotation.RestController;
/** /**
* @author xiaojing * @author xiaojing
*/ */
@EnableDiscoveryClient
@SpringBootApplication @SpringBootApplication
public class ProviderApplication { public class ProviderApplication {