Skip to content

Commit 0fb67f9

Browse files
使用@async实现异步调用
1 parent 29532b5 commit 0fb67f9

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

Chapter4-1-2/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
<dependency>
3333
<groupId>org.springframework.boot</groupId>
3434
<artifactId>spring-boot-starter-test</artifactId>
35+
<version>1.3.3.RELEASE</version>
3536
<scope>test</scope>
3637
</dependency>
3738

Chapter4-1-2/src/main/java/com/didispace/Application.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import org.springframework.boot.SpringApplication;
44
import org.springframework.boot.autoconfigure.SpringBootApplication;
55
import org.springframework.scheduling.annotation.EnableAsync;
6-
import org.springframework.scheduling.annotation.EnableScheduling;
76

87
@SpringBootApplication
98
@EnableAsync

0 commit comments

Comments
 (0)