From 193a8e2a658166654d423c40979698d034d67c8c Mon Sep 17 00:00:00 2001 From: wanggeng <450292408@qq.com> Date: Thu, 26 Aug 2021 16:09:55 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=85=8D=E7=BD=AE=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wechat/pay/v3/PayProperties.java | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/basic-properties/src/main/java/ink/wgink/properties/wechat/pay/v3/PayProperties.java b/basic-properties/src/main/java/ink/wgink/properties/wechat/pay/v3/PayProperties.java index 674eaa15..e47316b7 100644 --- a/basic-properties/src/main/java/ink/wgink/properties/wechat/pay/v3/PayProperties.java +++ b/basic-properties/src/main/java/ink/wgink/properties/wechat/pay/v3/PayProperties.java @@ -18,7 +18,8 @@ public class PayProperties { private Boolean produce; private String mchid; private String certificatePath; - private String keyPath; + private String certificateName; + private String keyFilePath; private String apiV3Secretkey; public Boolean getActive() { @@ -53,12 +54,20 @@ public class PayProperties { this.certificatePath = certificatePath; } - public String getKeyPath() { - return keyPath == null ? "" : keyPath.trim(); + public String getCertificateName() { + return certificateName == null ? "" : certificateName.trim(); } - public void setKeyPath(String keyPath) { - this.keyPath = keyPath; + public void setCertificateName(String certificateName) { + this.certificateName = certificateName; + } + + public String getKeyFilePath() { + return keyFilePath == null ? "" : keyFilePath.trim(); + } + + public void setKeyFilePath(String keyFilePath) { + this.keyFilePath = keyFilePath; } public String getApiV3Secretkey() {