原文https://blog.csdn.net/friendshipcup/article/details/78235540 如果是无配置的情况,记得在config类下开启@EnableAspectJAutoProxy//开启切面的支持