HuaTaiApiConfigurationProperties.java 862 B

123456789101112131415161718192021222324252627282930313233343536
  1. package com.ydtech.config.properties;
  2. import lombok.Data;
  3. import org.springframework.boot.context.properties.ConfigurationProperties;
  4. import org.springframework.stereotype.Component;
  5. /**
  6. * @author CXP
  7. * @version 0.0.2
  8. * @description 华泰API对接参数
  9. * @date 2023/4/20 18:01
  10. */
  11. @Data
  12. @Component
  13. @ConfigurationProperties(prefix = "huatai.api")
  14. public class HuaTaiApiConfigurationProperties {
  15. //华泰请求API地址
  16. private String baseUrl;
  17. //我司提供RSA公钥
  18. private String selfPublicKey;
  19. //我司自用RSA私钥
  20. private String selfPrivateKey;
  21. // 华泰RSA公钥
  22. private String huaTaiPublicKey;
  23. //系统来源代码,由华泰分配
  24. private String sourceCode;
  25. // 华泰key
  26. private String huaTaiKey;
  27. // 我司key
  28. private String key;
  29. // 获取 voken url
  30. private String tokenUrl;
  31. }