2019-10-16 18:00:56 +08:00
|
|
|
package com.central;
|
|
|
|
|
|
2019-10-26 15:19:38 +08:00
|
|
|
import com.central.common.ribbon.annotation.EnableBaseFeignInterceptor;
|
2019-10-16 18:00:56 +08:00
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
|
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
|
|
|
|
import org.springframework.cloud.openfeign.EnableFeignClients;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @author zlt
|
|
|
|
|
* @date 2019/10/5
|
|
|
|
|
* <p>
|
2020-04-18 23:56:22 +08:00
|
|
|
* Blog: https://zlt2000.gitee.io
|
2019-10-16 18:00:56 +08:00
|
|
|
* Github: https://github.com/zlt2000
|
|
|
|
|
*/
|
|
|
|
|
@EnableFeignClients
|
2019-10-26 15:19:38 +08:00
|
|
|
@EnableBaseFeignInterceptor
|
2019-10-16 18:00:56 +08:00
|
|
|
@EnableDiscoveryClient
|
|
|
|
|
@SpringBootApplication
|
|
|
|
|
public class SCGatewayApp {
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
|
SpringApplication.run(SCGatewayApp.class, args);
|
|
|
|
|
}
|
|
|
|
|
}
|