调整配置参数

This commit is contained in:
wanggeng 2021-08-26 16:09:55 +08:00
parent cf9c6d00dc
commit 193a8e2a65

View File

@ -18,7 +18,8 @@ public class PayProperties {
private Boolean produce; private Boolean produce;
private String mchid; private String mchid;
private String certificatePath; private String certificatePath;
private String keyPath; private String certificateName;
private String keyFilePath;
private String apiV3Secretkey; private String apiV3Secretkey;
public Boolean getActive() { public Boolean getActive() {
@ -53,12 +54,20 @@ public class PayProperties {
this.certificatePath = certificatePath; this.certificatePath = certificatePath;
} }
public String getKeyPath() { public String getCertificateName() {
return keyPath == null ? "" : keyPath.trim(); return certificateName == null ? "" : certificateName.trim();
} }
public void setKeyPath(String keyPath) { public void setCertificateName(String certificateName) {
this.keyPath = keyPath; this.certificateName = certificateName;
}
public String getKeyFilePath() {
return keyFilePath == null ? "" : keyFilePath.trim();
}
public void setKeyFilePath(String keyFilePath) {
this.keyFilePath = keyFilePath;
} }
public String getApiV3Secretkey() { public String getApiV3Secretkey() {