package com.ruoyi;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * 启动程序
 * 
 * @author ruoyi
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
@Slf4j
public class RuoYiApplication
{
    public static void main(String[] args)
    {
        SpringApplication.run(RuoYiApplication.class, args);
        log.info(" >>>> 服务启动成功，欢迎使用 <<<\n " +
                "    _____   _   _    _____   _  __\n" +
                "  / ____| | \\ | |  / ____| | |/ /\n" +
                " | |  __  |  \\| | | (___   | ' / \n" +
                " | | |_ | | . ` |  \\___ \\  |  <  \n" +
                " | |__| | | |\\  |  ____) | | . \\ \n" +
                "  \\_____| |_| \\_| |_____/  |_|\\_\\\n" +
                "                                 \n" +
                "                                 ");
    }
}
