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;
|
private String apiV3Key;
|
|
/**
|
* AppSecret
|
*/
|
private String appSecret;
|
|
/**
|
* 微信商户号
|
*/
|
private String mchId;
|
|
/**
|
* 支付API密钥
|
*/
|
private String mchKey;
|
/**
|
* 支付API密钥
|
*/
|
private String subMchKey;
|
|
/**
|
* 支付回调地址
|
*/
|
private String notifyUrl;
|
/**
|
* 退款回调地址
|
*/
|
private String refundNotifyUrl;
|
|
/**
|
* 支付证书(p12)
|
*/
|
private String keyPath;
|
private String serialNumer;
|
|
private int existsSub;// true
|
private String subAppId;//wxcd2b89fd2ff065f8
|
private String subMchId;// 1229817002
|
private String subAppSecret;// 1229817002
|
private String typeId;// gybike
|
private String privateKeyPath ;
|
private String privateCertPath;// gybike
|
|
}
|