Fork me on GitHub
摘要: ConditionalOnMissingBean 当没有指定的Bean时,使用当前默认的Bean声明一个接口 /** * 测试服务 */ public interface ITest { void test(); } 提供默认实现 public class DefaultTest implement 阅读全文
posted @ 2025-07-01 23:06 黄高林 阅读(17) 评论(0) 推荐(0)