摘要:
一.任务分类 异步任务 定时任务 邮件发送任务 二.异步任务 1.主要两个步骤 在异步方法上加上注解@Async 在springBoot的启动类中开启注解@EnableAsync 2.编写异步程序 编写一个Service层的异步方法并使用@Async 在控制层调用异步方法 在springBoot启动 阅读全文
posted @ 2020-03-07 02:41
All_just_for_fun
阅读(222)
评论(0)
推荐(0)
摘要:
原文链接:https://blog.csdn.net/u014231523/article/details/76522486 说明: 1.这里使用的版本:springfox-swagger2(2.4)springfox-swagger-ui (2.4) 2.这里是说明常用注解的含义和基本用法(也就是 阅读全文
posted @ 2020-03-07 01:53
All_just_for_fun
阅读(230)
评论(0)
推荐(0)