增加配置项
This commit is contained in:
parent
5d974fbdf8
commit
683b6e74a2
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user