🎨 开启异步执行
This commit is contained in:
parent
42eaab1a87
commit
97375a3dbd
@ -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 {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user