mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-06-28 13:16:19 +08:00
修改设置代理的Bug。
修改设置代理的Bug。 Signed-off-by: Wang Zhengjie <wangzhengjie@tinkers.com.cn>
This commit is contained in:
parent
2c82ff416c
commit
d756702bd8
@ -33,7 +33,7 @@ public class JoddGetRequestExecutor implements RequestExecutor<String, String> {
|
|||||||
if (httpProxy != null) {
|
if (httpProxy != null) {
|
||||||
ProxyInfo proxyInfoObj = new ProxyInfo(
|
ProxyInfo proxyInfoObj = new ProxyInfo(
|
||||||
ProxyInfo.ProxyType.HTTP,
|
ProxyInfo.ProxyType.HTTP,
|
||||||
httpProxy.getAddress().getHostAddress(),
|
httpProxy.getHostName(),
|
||||||
httpProxy.getPort(), "", "");
|
httpProxy.getPort(), "", "");
|
||||||
provider.useProxy(proxyInfoObj);
|
provider.useProxy(proxyInfoObj);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user