报错原因
因为Spring默认不允许获取代理对象,如果使用需要手动开启
1、引入依赖
2、开启AOP获取(在SpringBo - 阅读更多 -
](https://ooolo.net/usr/uploads/2023/08/823672768.png)

< - 阅读更多 -