package vip.xiaonuo.common.wx;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author wulei
 * @date 2024/11/1
 * @Version 1.0
 * @Description TODO
 */
@Data
@Component
@ConfigurationProperties(prefix = "wx.pay")
public class WxPayConfig {
    //APPID
    private String appId;
    //APP SECRET
    private String appSecret;
    //商户号
    private String merchantId;
    //商户API私钥地址
    private String privateKey;
    //商户证书序列号
    private String mchSerialNo;
    //商户APIv3密钥
    private String apiV3Key;
    //支付通知地址
    private String payNotifyUrl;
    //openid交换地址
    private String getOpenIdUrl;
    //授权类型
    private String grantType;


}
