2023-09-06 18:13:01 +08:00
|
|
|
package com.ruoyi;
|
|
|
|
|
|
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
|
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
2023-10-13 10:57:45 +08:00
|
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
2023-09-06 18:13:01 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 启动程序
|
|
|
|
|
*
|
|
|
|
|
* @author ruoyi
|
|
|
|
|
*/
|
|
|
|
|
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
|
2023-10-13 10:57:45 +08:00
|
|
|
@EnableScheduling
|
2023-09-06 18:13:01 +08:00
|
|
|
public class RuoYiApplication
|
|
|
|
|
{
|
|
|
|
|
public static void main(String[] args)
|
|
|
|
|
{
|
|
|
|
|
// System.setProperty("spring.devtools.restart.enabled", "false");
|
|
|
|
|
SpringApplication.run(RuoYiApplication.class, args);
|
2024-04-30 15:15:15 +08:00
|
|
|
System.out.println(" __ _ \n" +
|
|
|
|
|
" ____ / /_ ____ ____ ____ _ _________ _(_)\n" +
|
|
|
|
|
"/_ / / __ \\/ __ \\/ __ \\/ __ `/ / ___/ __ `/ / \n" +
|
|
|
|
|
" / /_/ / / / /_/ / / / / /_/ / / /__/ /_/ / / \n" +
|
|
|
|
|
"/___/_/ /_/\\____/_/ /_/\\__, / \\___/\\__,_/_/ \n" +
|
|
|
|
|
" /____/ ");
|
2023-09-06 18:13:01 +08:00
|
|
|
}
|
|
|
|
|
}
|