//读取配置文件
@Value("${web.host}")
private String webHost;
//方法调用,获取到配置文件的值
public String getWebHost(){
return webHost;
}
//读取配置文件
@Value("${web.host}")
private String webHost;
//方法调用,获取到配置文件的值
public String getWebHost(){
return webHost;
}