增加配置项
This commit is contained in:
parent
5d974fbdf8
commit
683b6e74a2
@ -15,6 +15,7 @@ import org.springframework.context.annotation.Configuration;
|
|||||||
public class PayProperties {
|
public class PayProperties {
|
||||||
|
|
||||||
private Boolean active;
|
private Boolean active;
|
||||||
|
private Boolean produce;
|
||||||
private String mchid;
|
private String mchid;
|
||||||
private String certificatePath;
|
private String certificatePath;
|
||||||
private String keyPath;
|
private String keyPath;
|
||||||
@ -28,6 +29,14 @@ public class PayProperties {
|
|||||||
this.active = active;
|
this.active = active;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Boolean getProduce() {
|
||||||
|
return produce;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setProduce(Boolean produce) {
|
||||||
|
this.produce = produce;
|
||||||
|
}
|
||||||
|
|
||||||
public String getMchid() {
|
public String getMchid() {
|
||||||
return mchid == null ? "" : mchid.trim();
|
return mchid == null ? "" : mchid.trim();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user