Browse Source

data-report启动类添加feign注解

master
zxc 5 years ago
parent
commit
18954811ca
  1. 6
      epmet-module/data-report/data-report-server/src/main/java/com/epmet/DataReportApplication.java

6
epmet-module/data-report/data-report-server/src/main/java/com/epmet/DataReportApplication.java

@ -2,8 +2,14 @@ package com.epmet;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@EnableAsync
public class DataReportApplication {
public static void main(String[] args) {
SpringApplication.run(DataReportApplication.class, args);

Loading…
Cancel
Save