在controller中写@asyn会使得controller失效,无法映射路径,导致404
@asyn写到service里面
https://my.oschina.net/huifer/blog/5187502
https://blog.csdn.net/yxh13521338301/article/details/106237373
Controller 中使用Async注解失效
原文:https://www.cnblogs.com/Sigmund-Freud-01/p/15209351.html