templates.gateway.GatewayApplication.ftl Maven / Gradle / Ivy
package ${packageName}.gateway;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
/***
* 网关应用
*
* @author Co.
* @date: 2022/10/15 11:20
* @return
*/
@EnableDiscoveryClient
@SpringBootApplication
public class GatewayApplication {
public static void main(String[] args) {
SpringApplication.run(GatewayApplication.class, args);
}
}