添加默认值
This commit is contained in:
parent
3629a314bf
commit
4ff0b2195f
@ -18,9 +18,10 @@ public class PayProperties {
|
|||||||
private String mchid;
|
private String mchid;
|
||||||
private String certificatePath;
|
private String certificatePath;
|
||||||
private String keyPath;
|
private String keyPath;
|
||||||
|
private String apiV3Secretkey;
|
||||||
|
|
||||||
public Boolean getActive() {
|
public Boolean getActive() {
|
||||||
return active;
|
return active == null ? false : active;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setActive(Boolean active) {
|
public void setActive(Boolean active) {
|
||||||
@ -50,4 +51,12 @@ public class PayProperties {
|
|||||||
public void setKeyPath(String keyPath) {
|
public void setKeyPath(String keyPath) {
|
||||||
this.keyPath = keyPath;
|
this.keyPath = keyPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getApiV3Secretkey() {
|
||||||
|
return apiV3Secretkey == null ? "" : apiV3Secretkey.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setApiV3Secretkey(String apiV3Secretkey) {
|
||||||
|
this.apiV3Secretkey = apiV3Secretkey;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user