HuahengGatewayApplication.java 1.49 KB
package com.huaheng.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 网关启动程序
 * 
 * @author huaheng
 */
@EnableDiscoveryClient
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class })
public class HuahengGatewayApplication
{
    public static void main(String[] args)
    {
        SpringApplication.run(HuahengGatewayApplication.class, args);
        System.out.println("(◠‿◠)゙  Gateway网关启动成功   ///  \n" +
                "     へ     /|▓\n"+
                "    /\7   ∠_/\n"+
                "    / │   / /\n"+
                "    │ Z _,< /  〈ヽ\n"+
                "    │     ヽ    / 〉\n"+
                "    Y     `/  / 〉\n"+
                "   ( ●  ヽ  ● /.  〈 /\n"+
                "  () (  | \  〈/\n"+
                "    >_ ' _ . '│  //\n"+
                "   /へ    / )<| \\\n"+
                "   ヽ_)  (_/  │//\n"+
                "   7       | /\n"+
                "   >―r` ̄ ̄` `―_' \n"+
                "——————————————————————————\n" );
    }
}