package com.ruoyi.common.weixin.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * 微信支付V3相关参数配置
 * @author Wzp
 */
@Getter
@Setter
@Configuration
public class WeiXinPayConfig {

    @Value("${wx.pay.appId}")
    private String appId;

    @Value("${wx.pay.mchId}")
    private String mchId;

    @Value("${wx.pay.mchSerialNum}")
    private String mchSerialNum;

    @Value("${wx.pay.apiV3Key}")
    private String apiV3Key;
    //微信回调地址
    @Value("${wx.pay.notifyUrl}")
    private String notifyUrl;
    //支付宝回调地址
    @Value("${wx.pay.notifyZfbUrl}")
    private String notifyZfbUrl;

    @Value("${wx.pay.description}")
    private String description;

    @Value("${wx.pay.apiClientKey}")
    private String apiClientKey;

    @Value("${wx.login.appId}")
    private String appIdLogin;

    @Value("${wx.login.appSecret}")
    private String appSecretLogin;

    @Value("${wx.login.redirectUrl}")
    private String redirectUrl;

}
