微信支付模块配置中增加ifSaveApiData参数,可以选择是否保存接口请求信息到ThreadLocal中方便读取

This commit is contained in:
Binary Wang
2018-11-11 21:16:47 +08:00
parent a5c8f13fff
commit 6720960d54
3 changed files with 26 additions and 10 deletions

View File

@@ -88,6 +88,13 @@ public class WxPayConfig {
* 默认不使用
*/
private boolean useSandboxEnv = false;
/**
* 是否将接口请求日志信息保存到threadLocal中.
* 默认不保存
*/
private boolean ifSaveApiData = false;
private String httpProxyHost;
private Integer httpProxyPort;
private String httpProxyUsername;