摘要:1.在父类定义属性DQ,并通过配置初始化 @Configuration public class DQConfig { public static String DQ; @Value("${dq:AnHui}")//若配置dq不存在,默认给值AnHui public void setDQ(Strin
        阅读全文
        
            posted @ 2020-11-03 17:16
            posted @ 2020-11-03 17:16