Skip to content

Commit 62b5027

Browse files
authored
Change default values for WxPayConfig settings
1 parent 3e7d017 commit 62b5027

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • weixin-java-pay/src/main/java/com/github/binarywang/wxpay/config

weixin-java-pay/src/main/java/com/github/binarywang/wxpay/config/WxPayConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,12 +272,12 @@ public class WxPayConfig {
272272
/**
273273
* 是否将全部v3接口的请求都添加Wechatpay-Serial请求头,默认添加
274274
*/
275-
private boolean strictlyNeedWechatPaySerial = false;
275+
private boolean strictlyNeedWechatPaySerial = true;
276276

277277
/**
278278
* 是否完全使用公钥模式(用以微信从平台证书到公钥的灰度切换),默认使用
279279
*/
280-
private boolean fullPublicKeyModel = false;
280+
private boolean fullPublicKeyModel = true;
281281

282282
/**
283283
* 返回所设置的微信支付接口请求地址域名.

0 commit comments

Comments
 (0)