package com.ruoyi.payment.infrastructure.config; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; /** * 微信支付配置 * * @author ruoyi */ @Data @Component @ConfigurationProperties(prefix = "payment.wechat") public class WechatPayConfig { /** 应用ID */ private String appId; /** 商户号 */ private String mchId; /** 商户密钥 */ private String mchKey; /** 回调地址 */ private String notifyUrl; /** * 回调是否检查签名 */ private Boolean checkSign=true; /** 签名类型 */ private String signType = "MD5"; /** * 第三方支付配置 */ private ThirdPartyConfig thirdParty = new ThirdPartyConfig(); }