目录1 场景描述2 PaymentFactory 基础实现3 PaymentFactory 高级实现4 小结在基于 Spring Boot 的业务开发中,我们有时会遇到这样的场景:即定义了一个通用接口,而该接口拥有多个实现类。在调用这些实现类时,我们通
Closed. This question is off-topic. It is not currently accepting answers. 开发者_JAVA技巧 Want to improve this question? Update the question so it's on-topic for Stack Overflow.