CaptchaProperties.java 869 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. package com.jeeplus.common.captcha;
  2. import org.springframework.beans.factory.annotation.Value;
  3. import org.springframework.stereotype.Component;
  4. /**
  5. * @Author: zwq
  6. * @Date: Create in 2022/10/24 17:12
  7. * @Description: 电签配置参数
  8. */
  9. @Component
  10. public class CaptchaProperties {
  11. /**
  12. * 应用id
  13. */
  14. @Value("${captchaAppId}")
  15. private Long captchaAppId;
  16. /**
  17. * 应用秘钥
  18. */
  19. @Value("${captchaAppSecret}")
  20. private String captchaAppSecret;
  21. public Long getCaptchaAppId() {
  22. return captchaAppId;
  23. }
  24. public void setCaptchaAppId(Long captchaAppId) {
  25. this.captchaAppId = captchaAppId;
  26. }
  27. public String getCaptchaAppSecret() {
  28. return captchaAppSecret;
  29. }
  30. public void setCaptchaAppSecret(String captchaAppSecret) {
  31. this.captchaAppSecret = captchaAppSecret;
  32. }
  33. }