Spring注入接口,接口多个实现类调用哪个实现类的三种方案
摘要:
https://blog.csdn.net/JingXu1114/article/details/124747047 代码所示: ··· @Autowired UserService userService ···在这个接口有多个实现类的情况下三种方式定义调用实现类: 方法1:··· `@Autow 阅读全文
posted @ 2023-04-26 09:48 四海骄阳 阅读(2335) 评论(0) 推荐(0)
浙公网安备 33010602011771号