Controller 中使用@Async注解失效
问题
在controller中写@asyn会使得controller失效,无法映射路径,导致404
解决
@asyn写到service里面
参考
https://my.oschina.net/huifer/blog/5187502
https://blog.csdn.net/yxh13521338301/article/details/106237373
扩展
@async不生效问题解决办法
https://blog.csdn.net/qq_30146831/article/details/105939754?utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_title~default-1.control&spm=1001.2101.3001.4242