🎨 开启异步执行

This commit is contained in:
ronger 2022-08-17 09:52:14 +08:00
parent 42eaab1a87
commit 97375a3dbd

View File

@ -2,10 +2,12 @@ package com.rymcu.forest;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
/** /**
* @author ronger * @author ronger
*/ */
@EnableAsync
@SpringBootApplication @SpringBootApplication
public class ForestApplication { public class ForestApplication {