SpringBoot Controller接口私有方法 无法获取 Bean注入

Controller层,注入bean后  使用private修饰的方法无法获取注入的bean;

原理参见:https://www.cnblogs.com/cloudwill/p/13648539.html

posted @ 2022-11-09 19:35  isme_533  阅读(174)  评论(0)    收藏  举报