2025-05-12 08:39:57 +08:00
|
|
|
package com.zg;
|
|
|
|
|
|
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
|
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
2025-07-10 08:40:36 +08:00
|
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
2025-05-12 08:39:57 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 启动程序
|
|
|
|
|
*
|
|
|
|
|
* @author zg
|
|
|
|
|
*/
|
|
|
|
|
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
|
2025-07-10 08:40:36 +08:00
|
|
|
@EnableScheduling
|
2025-05-12 08:39:57 +08:00
|
|
|
public class SmartApplication
|
|
|
|
|
{
|
|
|
|
|
public static void main(String[] args)
|
|
|
|
|
{
|
|
|
|
|
SpringApplication.run(SmartApplication.class, args);
|
|
|
|
|
System.out.println("启动成功");
|
|
|
|
|
}
|
|
|
|
|
}
|