|
|
|
@@ -54,6 +54,9 @@ public class WxPayAccount implements Serializable { |
|
|
|
/*证书本地存放位置**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="证书本地存放位置",name="certPath") |
|
|
|
private String certPath; |
|
|
|
/*证书密码**/ |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="证书密码",name="certPass") |
|
|
|
private String certPass; |
|
|
|
public String getMchId() { |
|
|
|
return mchId; |
|
|
|
} |
|
|
|
@@ -79,6 +82,14 @@ public class WxPayAccount implements Serializable { |
|
|
|
certPath = _certPath; |
|
|
|
} |
|
|
|
|
|
|
|
public String getCertPass() { |
|
|
|
return certPass; |
|
|
|
} |
|
|
|
|
|
|
|
public void setCertPass(String certPass) { |
|
|
|
this.certPass = certPass; |
|
|
|
} |
|
|
|
|
|
|
|
public String getPayNotifyUrl() { |
|
|
|
return notifyUrl + "/pay"; |
|
|
|
} |
|
|
|
@@ -92,10 +103,11 @@ public class WxPayAccount implements Serializable { |
|
|
|
public static enum Field |
|
|
|
{ |
|
|
|
Id_ASC("`id` ASC"),Id_DESC("`id` DESC") |
|
|
|
,MchId_ASC("`mchId` ASC"),MchId_DESC("`mchId` DESC") |
|
|
|
,ApiKey_ASC("`apiKey` ASC"),ApiKey_DESC("`apiKey` DESC") |
|
|
|
,NotifyUrl_ASC("`notifyUrl` ASC"),NotifyUrl_DESC("`notifyUrl` DESC") |
|
|
|
,CertPath_ASC("`certPath` ASC"),CertPath_DESC("`certPath` DESC") |
|
|
|
,MchId_ASC("`mch_id` ASC"),MchId_DESC("`mch_id` DESC") |
|
|
|
,ApiKey_ASC("`api_key` ASC"),ApiKey_DESC("`api_key` DESC") |
|
|
|
,NotifyUrl_ASC("`notify_url` ASC"),NotifyUrl_DESC("`notify_url` DESC") |
|
|
|
,CertPath_ASC("`cert_path` ASC"),CertPath_DESC("`cert_path` DESC") |
|
|
|
,CertPass_ASC("`cert_pass` ASC"),CertPass_DESC("`cert_pass` DESC") |
|
|
|
; |
|
|
|
private String value; |
|
|
|
Field(String value){ |
|
|
|
@@ -128,6 +140,8 @@ public class WxPayAccount implements Serializable { |
|
|
|
sb.append(","); |
|
|
|
sb.append(fields[k].toString()); |
|
|
|
} |
|
|
|
|
|
|
|
this.sortColumns = sb.toString(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|