springboot读取配置不存在报错

@Value("${log.regId}")
private String regId = "123123";



String regId = env.getProperty("log.regId","123123");



猜你喜欢

转载自www.cnblogs.com/matd/p/11050271.html