| | |
| | | package com.ruoyi;
|
| | |
|
| | | import org.springframework.boot.SpringApplication;
|
| | | import org.springframework.boot.autoconfigure.SpringBootApplication;
|
| | | import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
| | |
|
| | | /**
|
| | | * 启动程序
|
| | | * |
| | | * @author ruoyi
|
| | | */
|
| | | @SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
|
| | | public class RuoYiApplication
|
| | | {
|
| | | public static void main(String[] args)
|
| | | {
|
| | | // System.setProperty("spring.devtools.restart.enabled", "false");
|
| | | SpringApplication.run(RuoYiApplication.class, args);
|
| | | System.out.println("(♥◠‿◠)ノ゙ 若依启动成功 ლ(´ڡ`ლ)゙ \n" +
|
| | | " .-------. ____ __ \n" +
|
| | | " | _ _ \\ \\ \\ / / \n" +
|
| | | " | ( ' ) | \\ _. / ' \n" +
|
| | | " |(_ o _) / _( )_ .' \n" +
|
| | | " | (_,_).' __ ___(_ o _)' \n" +
|
| | | " | |\\ \\ | || |(_,_)' \n" +
|
| | | " | | \\ `' /| `-' / \n" +
|
| | | " | | \\ / \\ / \n" +
|
| | | " ''-' `'-' `-..-' ");
|
| | | }
|
| | | }
|
| | | package com.ruoyi; |
| | | |
| | | import org.springframework.boot.SpringApplication; |
| | | import org.springframework.boot.autoconfigure.SpringBootApplication; |
| | | import org.springframework.boot.context.metrics.buffering.BufferingApplicationStartup; |
| | | |
| | | /** |
| | | * 启动程序 |
| | | * |
| | | * @author ruoyi |
| | | */ |
| | | |
| | | @SpringBootApplication |
| | | public class RuoYiApplication { |
| | | |
| | | public static void main(String[] args) { |
| | | System.setProperty("spring.devtools.restart.enabled", "false"); |
| | | SpringApplication application = new SpringApplication(RuoYiApplication.class); |
| | | application.setApplicationStartup(new BufferingApplicationStartup(2048)); |
| | | application.run(args); |
| | | System.out.println("(♥◠‿◠)ノ゙ RuoYi-Vue-Plus启动成功 ლ(´ڡ`ლ)゙"); |
| | | } |
| | | |
| | | } |