package com.jeeplus.common.captcha; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; /** * @Author: zwq * @Date: Create in 2022/10/24 17:12 * @Description: 电签配置参数 */ @Component public class CaptchaProperties { /** * 应用id */ @Value("${captchaAppId}") private Long captchaAppId; /** * 应用秘钥 */ @Value("${captchaAppSecret}") private String captchaAppSecret; public Long getCaptchaAppId() { return captchaAppId; } public void setCaptchaAppId(Long captchaAppId) { this.captchaAppId = captchaAppId; } public String getCaptchaAppSecret() { return captchaAppSecret; } public void setCaptchaAppSecret(String captchaAppSecret) { this.captchaAppSecret = captchaAppSecret; } }