96 lines
2.0 KiB
Java
96 lines
2.0 KiB
Java
package com.ruoyi.system.config;
|
|
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
@Component
|
|
@ConfigurationProperties(prefix = "wechat")
|
|
public class WechatConfig {
|
|
|
|
private String appid;
|
|
private String mchid;
|
|
private String apikey;
|
|
private String certpath;
|
|
|
|
// 微信支付V3新增配置
|
|
private String apiv3Key;
|
|
private String privateKeyPath;
|
|
private String serialNo;
|
|
private String certDir;
|
|
|
|
// 微信支付平台证书序列号(新增)
|
|
private String wechatpaySerial;
|
|
|
|
public String getAppid() {
|
|
return appid;
|
|
}
|
|
|
|
public void setAppid(String appid) {
|
|
this.appid = appid;
|
|
}
|
|
|
|
public void setMchid(String mchid) {
|
|
this.mchid = mchid;
|
|
}
|
|
|
|
public String getMchid() {
|
|
return mchid;
|
|
}
|
|
|
|
public String getApikey() {
|
|
return apikey;
|
|
}
|
|
|
|
public void setApikey(String apikey) {
|
|
this.apikey = apikey;
|
|
}
|
|
|
|
public String getCertpath() {
|
|
return certpath;
|
|
}
|
|
|
|
public void setCertpath(String certpath) {
|
|
this.certpath = certpath;
|
|
}
|
|
|
|
public String getApiv3Key() {
|
|
return apiv3Key;
|
|
}
|
|
|
|
public void setApiv3Key(String apiv3Key) {
|
|
this.apiv3Key = apiv3Key;
|
|
}
|
|
|
|
public String getPrivateKeyPath() {
|
|
return privateKeyPath;
|
|
}
|
|
|
|
public void setPrivateKeyPath(String privateKeyPath) {
|
|
this.privateKeyPath = privateKeyPath;
|
|
}
|
|
|
|
public String getSerialNo() {
|
|
return serialNo;
|
|
}
|
|
|
|
public void setSerialNo(String serialNo) {
|
|
this.serialNo = serialNo;
|
|
}
|
|
|
|
public String getCertDir() {
|
|
return certDir;
|
|
}
|
|
|
|
public void setCertDir(String certDir) {
|
|
this.certDir = certDir;
|
|
}
|
|
|
|
public String getWechatpaySerial() {
|
|
return wechatpaySerial;
|
|
}
|
|
|
|
public void setWechatpaySerial(String wechatpaySerial) {
|
|
this.wechatpaySerial = wechatpaySerial;
|
|
}
|
|
}
|