@Component
public class ParamConfig {
private static String factoryUrl;

public static String getFactoryUrl() {
return factoryUrl;
}

@Value("${external.factoryUrl}")
public void setFactoryUrl(String factoryUrl) {
ParamConfig.factoryUrl = factoryUrl;
}
}

相关文章:

  • 2021-07-30
  • 2021-09-12
  • 2022-12-23
  • 2021-11-05
  • 2021-05-17
  • 2021-06-08
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-13
  • 2022-02-15
  • 2021-06-19
  • 2022-12-23
  • 2022-12-23
  • 2021-06-06
相关资源
相似解决方案