|
|
|
@ -1,9 +1,7 @@
|
|
|
|
|
package com.alibaba.cloud.examples;
|
|
|
|
|
|
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
|
import org.springframework.cloud.client.SpringCloudApplication;
|
|
|
|
|
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
|
|
|
|
import org.springframework.cloud.openfeign.EnableFeignClients;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -13,8 +11,8 @@ import org.springframework.cloud.openfeign.EnableFeignClients;
|
|
|
|
|
@SpringCloudApplication
|
|
|
|
|
public class ConsumerApplication {
|
|
|
|
|
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
|
SpringApplication.run(ConsumerApplication.class, args);
|
|
|
|
|
}
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
|
SpringApplication.run(ConsumerApplication.class, args);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|