springboot项目内部方法调用aop无法拦截解決方案 开启aop配置获取当前动态代理并实现 开启aop配置 启动类增加该注解 @EnableAspectJAutoProxy(exposeProxy = true,proxyTargetClass = true) 获取当前动态代理并实现 ((sysUserService) AopContext.currentProxy()).studentList(); ps:AopContext.currentProxy()此方法获取当前设置运行的动态代理