AliyunApiProperties.java 586 B

12345678910111213141516171819202122232425262728293031323334353637
  1. package com.ydtech.components.aliyun;
  2. import lombok.Data;
  3. import org.springframework.boot.context.properties.ConfigurationProperties;
  4. import org.springframework.stereotype.Component;
  5. @Data
  6. @Component
  7. @ConfigurationProperties(prefix = "aliyun.api")
  8. public class AliyunApiProperties {
  9. /**
  10. *
  11. */
  12. private String accessKeyId;
  13. /**
  14. *
  15. */
  16. private String accessKeySecret;
  17. /**
  18. * 链接
  19. */
  20. private String endpoint;
  21. /**
  22. * 签名
  23. */
  24. private String signName;
  25. /**
  26. * 模版
  27. */
  28. private String templateId;
  29. }