|
|
@ -3,6 +3,7 @@ package com.mashibing.service.map;
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
|
|
|
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
|
|
|
|
|
|
|
import org.springframework.cloud.openfeign.EnableFeignClients;
|
|
|
|
import org.springframework.context.annotation.Bean;
|
|
|
|
import org.springframework.context.annotation.Bean;
|
|
|
|
import org.springframework.web.client.RestTemplate;
|
|
|
|
import org.springframework.web.client.RestTemplate;
|
|
|
|
|
|
|
|
|
|
|
@ -21,6 +22,7 @@ import org.springframework.web.client.RestTemplate;
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@SpringBootApplication
|
|
|
|
@SpringBootApplication
|
|
|
|
@EnableDiscoveryClient
|
|
|
|
@EnableDiscoveryClient
|
|
|
|
|
|
|
|
@EnableFeignClients
|
|
|
|
public class ServiceMapApplication {
|
|
|
|
public class ServiceMapApplication {
|
|
|
|
public static void main(String[] args) {
|
|
|
|
public static void main(String[] args) {
|
|
|
|
SpringApplication.run(ServiceMapApplication.class,args);
|
|
|
|
SpringApplication.run(ServiceMapApplication.class,args);
|
|
|
|