package com.ylx.common.config;

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

@Data
@Component
@ConfigurationProperties(prefix = "wechatpay")
public class WechatPayConfig {

    /**
     * appid.
     */
    private String appId;

    /**
     * appSecret.
     */
    private String appSecret;

    /**
     * 微信支付商户号.
     */
    private String mchId;

    /**
     * 微信支付商户密钥.
     */
    private String mchKey;

    /**
     * 异步回调地址
     */
    private String notifyUrl;

    /**
     * 证书地址
     */
    private String certPath;

    /**
     * 证书密钥地址
     */
    private String certKeyPath;
}
