import org.springframework.beans.factory.annotation.Value;

@Value("${pay.public.key}")
private String publicKey;

spring帮你注入。

相关文章:

  • 2021-09-30
  • 2021-08-16
  • 2022-12-23
  • 2022-12-23
  • 2021-09-08
  • 2022-12-23
  • 2021-06-25
猜你喜欢
  • 2021-07-03
  • 2022-12-23
  • 2021-06-24
  • 2021-08-24
  • 2021-08-15
  • 2021-07-07
相关资源
相似解决方案