摘要: SpringBoot 基于注解实现接口的代理Bean注入 在springboot加载时需自己手动将接口的代理bean注入到spring容器中,这样在service层注入该接口类型即可, 1.在SpringBoot启动类上添加EnableProxyBeanScan注解 EnableProxyBeanS 阅读全文
posted @ 2021-11-03 17:25 似水了流年 阅读(2833) 评论(0) 推荐(0) 编辑