springboot的异步任务(带返回值和不带返回值的处理)

注意:在用异步任务以前先给启动类加@EnableAsync这个注解java 新建异步任务包和在包里面建异步任务类web As.java异步类spring package com.example.demo.async; import org.springframework.scheduling.annotation.Async; import org.springframework.schedul
相关文章
相关标签/搜索