增加配置项

This commit is contained in:
wanggeng 2021-08-26 07:44:54 +08:00
parent 5d974fbdf8
commit 683b6e74a2

View File

@ -15,6 +15,7 @@ import org.springframework.context.annotation.Configuration;
public class PayProperties {
private Boolean active;
private Boolean produce;
private String mchid;
private String certificatePath;
private String keyPath;
@ -28,6 +29,14 @@ public class PayProperties {
this.active = active;
}
public Boolean getProduce() {
return produce;
}
public void setProduce(Boolean produce) {
this.produce = produce;
}
public String getMchid() {
return mchid == null ? "" : mchid.trim();
}