This commit is contained in:
雷欧(林平凡)
2024-11-29 11:38:13 +08:00
parent 34c2e8638e
commit f3a9536685
2 changed files with 9 additions and 6 deletions

View File

@@ -2,6 +2,7 @@ package cn.van;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
/**
@@ -12,6 +13,7 @@ import org.springframework.scheduling.annotation.EnableScheduling;
*/
@SpringBootApplication
@EnableScheduling
@EnableAsync
public class Application {
public static void main(String[] args) {