mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-02-16 13:26:23 +08:00
#355 修复为支持拉取订单评价数据接口而引入的签名bug
This commit is contained in:
@@ -36,6 +36,7 @@ public class WxPayConfig {
|
||||
private String subMchId;
|
||||
private String notifyUrl;
|
||||
private String tradeType;
|
||||
private String signType;
|
||||
private SSLContext sslContext;
|
||||
private String keyPath;
|
||||
private boolean useSandboxEnv = false;
|
||||
@@ -139,6 +140,19 @@ public class WxPayConfig {
|
||||
this.tradeType = tradeType;
|
||||
}
|
||||
|
||||
/**
|
||||
* 签名方式
|
||||
* 有两种HMAC_SHA256 和MD5
|
||||
* @see com.github.binarywang.wxpay.constant.WxPayConstants.SignType
|
||||
*/
|
||||
public String getSignType() {
|
||||
return this.signType;
|
||||
}
|
||||
|
||||
public void setSignType(String signType) {
|
||||
this.signType = signType;
|
||||
}
|
||||
|
||||
public SSLContext getSslContext() {
|
||||
return this.sslContext;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user