SiweipayProperties.java 647 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. package com.izouma.nineth.config;
  2. import lombok.Data;
  3. import org.springframework.boot.context.properties.ConfigurationProperties;
  4. import org.springframework.stereotype.Component;
  5. /**
  6. * 四维支付配置
  7. *
  8. */
  9. @Data
  10. @Component
  11. @ConfigurationProperties(prefix = "siweipay")
  12. public class SiweipayProperties {
  13. /**
  14. * 基础接口地址
  15. */
  16. private String baseUrl;
  17. /**
  18. * 结果通知地址
  19. */
  20. private String notifyUrl;
  21. /**
  22. * 应用ID
  23. */
  24. private String appId;
  25. /**
  26. * 应用密钥
  27. */
  28. private String appKey;
  29. /**
  30. * 是否调试
  31. */
  32. private boolean debug;
  33. }