package com.doumee.config.wx; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; /** * Created by IntelliJ IDEA. * * @Author : Rk * @create 2023/3/22 18:04 */ @Component @ConfigurationProperties(prefix = "wx.pay") @Data public class WxPayProperties { /** * AppID */ private String appId; /** * AppSecret */ private String appSecret; /** * 微信商户号 */ private String mchId; /** * 支付API密钥 */ private String mchKey; /** * 支付回调地址 */ private String notifyUrl; /** * V3支付回调地址 */ private String v3NotifyUrl; /** * V3退款回调地址 */ private String v3RefundNotifyUrl; /** * 支付证书(p12) */ private String keyPath; /** * apiV3Key */ private String apiV3Key; /** * 商户证书序列号 */ private String serialNumer; /** * 退款回调 */ private String refundNotifyUrl; /** * 商户支付公钥 */ private String pubKeyPath; /** * 支付秘钥 */ private String privateCertPath; /** * 支付key */ private String privateKeyPath; /** * 微信支付公钥ID */ private String publicKeyId; }