|
|
@@ -12,6 +12,7 @@ import org.springframework.cloud.openfeign.EnableFeignClients;
|
|
|
import org.springframework.context.annotation.Bean;
|
|
|
import org.springframework.context.annotation.ComponentScan;
|
|
|
import org.springframework.http.converter.json.Jackson2ObjectMapperBuilder;
|
|
|
+import org.springframework.scheduling.annotation.EnableAsync;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
@@ -23,6 +24,7 @@ import java.time.format.DateTimeFormatter;
|
|
|
* @date : 2022-3-1 9:48
|
|
|
* @desc : springboot应用主启动类
|
|
|
*/
|
|
|
+@EnableAsync
|
|
|
@EnableFeignClients
|
|
|
@RestController
|
|
|
@SpringBootApplication
|