增加全功能spring-cloud-gateway,优化部分公共模块适配webFlux
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
package com.central;
|
||||
|
||||
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>
|
||||
* Blog: https://blog.csdn.net/zlt2000
|
||||
* Github: https://github.com/zlt2000
|
||||
*/
|
||||
@EnableFeignClients
|
||||
@EnableDiscoveryClient
|
||||
@SpringBootApplication
|
||||
public class SCGatewayApp {
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(SCGatewayApp.class, args);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user