RuoYiApplication.java 1.3 KB
Newer Older
RuoYi's avatar
RuoYi committed
1 2
package com.ruoyi;

jianglw's avatar
jianglw committed
3
import com.ruoyi.framework.datasource.annotation.EnableDynamicDataSource;
RuoYi's avatar
RuoYi committed
4 5 6 7 8 9 10 11 12 13
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * 启动程序
 * 
 * @author ruoyi
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
jianglw's avatar
jianglw committed
14
@EnableDynamicDataSource
RuoYi's avatar
RuoYi committed
15 16 17 18
public class RuoYiApplication
{
    public static void main(String[] args)
    {
19
        // System.setProperty("spring.devtools.restart.enabled", "false");
RuoYi's avatar
RuoYi committed
20 21 22 23 24 25 26 27 28 29 30 31 32
        SpringApplication.run(RuoYiApplication.class, args);
        System.out.println("(♥◠‿◠)ノ゙  若依启动成功   ლ(´ڡ`ლ)゙  \n" +
                " .-------.       ____     __        \n" +
                " |  _ _   \\      \\   \\   /  /    \n" +
                " | ( ' )  |       \\  _. /  '       \n" +
                " |(_ o _) /        _( )_ .'         \n" +
                " | (_,_).' __  ___(_ o _)'          \n" +
                " |  |\\ \\  |  ||   |(_,_)'         \n" +
                " |  | \\ `'   /|   `-'  /           \n" +
                " |  |  \\    /  \\      /           \n" +
                " ''-'   `'-'    `-..-'              ");
    }
}