|
@@ -2,13 +2,6 @@ package com.github.binarywang.wxpay.testbase; |
|
|
|
|
|
|
|
|
import com.github.binarywang.wxpay.config.WxPayConfig; |
|
|
import com.github.binarywang.wxpay.config.WxPayConfig; |
|
|
import com.thoughtworks.xstream.annotations.XStreamAlias; |
|
|
import com.thoughtworks.xstream.annotations.XStreamAlias; |
|
|
import org.apache.commons.lang3.builder.ToStringBuilder; |
|
|
|
|
|
import org.apache.http.ssl.SSLContexts; |
|
|
|
|
|
|
|
|
|
|
|
import javax.net.ssl.SSLContext; |
|
|
|
|
|
import java.io.File; |
|
|
|
|
|
import java.io.FileInputStream; |
|
|
|
|
|
import java.security.KeyStore; |
|
|
|
|
|
|
|
|
|
|
|
@XStreamAlias("xml") |
|
|
@XStreamAlias("xml") |
|
|
public class XmlWxPayConfig extends WxPayConfig { |
|
|
public class XmlWxPayConfig extends WxPayConfig { |
|
@@ -23,9 +16,9 @@ public class XmlWxPayConfig extends WxPayConfig { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public boolean useSandboxForWxPay() { |
|
|
|
|
|
|
|
|
public boolean useSandbox() { |
|
|
//沙箱环境不成熟,有问题无法使用,暂时屏蔽掉 |
|
|
//沙箱环境不成熟,有问题无法使用,暂时屏蔽掉 |
|
|
// return true; |
|
|
|
|
|
|
|
|
// return true; |
|
|
return false; |
|
|
return false; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |