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 WeiXinH5PayConfig {

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

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

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

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

    //微信回调地址
    @Value("${wx.pay.h5.notifyUrl}")
    private String notifyUrl;

    //微信H5回调地址
    @Value("${wx.pay.h5.h5NotifyUrl}")
    private String h5NotifyUrl;

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

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

    @Value("${wx.pay.h5.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;

}
