摘要: 上讲我们总结了如何在springboot中优雅的使用工厂方法。 //接口实现不变 public interface ReportService { String getResult(); } //给实现类加上名字 @Component("A1") public class ReportService 阅读全文
posted @ 2023-02-01 16:50 Mars.wang 阅读(741) 评论(0) 推荐(1)