mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-04-24 08:57:16 +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) {
|
||||
ProxyInfo proxyInfoObj = new ProxyInfo(
|
||||
ProxyInfo.ProxyType.HTTP,
|
||||
httpProxy.getAddress().getHostAddress(),
|
||||
httpProxy.getHostName(),
|
||||
httpProxy.getPort(), "", "");
|
||||
provider.useProxy(proxyInfoObj);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user