From d756702bd847121d6fdf371b2a57a94f1ce708f4 Mon Sep 17 00:00:00 2001 From: Wang Zhengjie Date: Fri, 11 Mar 2016 17:57:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AE=BE=E7=BD=AE=E4=BB=A3?= =?UTF-8?q?=E7=90=86=E7=9A=84Bug=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改设置代理的Bug。 Signed-off-by: Wang Zhengjie --- .../chanjar/weixin/common/util/http/JoddGetRequestExecutor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weixin-java-common/src/main/java/me/chanjar/weixin/common/util/http/JoddGetRequestExecutor.java b/weixin-java-common/src/main/java/me/chanjar/weixin/common/util/http/JoddGetRequestExecutor.java index 82e28f7f..10011304 100644 --- a/weixin-java-common/src/main/java/me/chanjar/weixin/common/util/http/JoddGetRequestExecutor.java +++ b/weixin-java-common/src/main/java/me/chanjar/weixin/common/util/http/JoddGetRequestExecutor.java @@ -33,7 +33,7 @@ public class JoddGetRequestExecutor implements RequestExecutor { if (httpProxy != null) { ProxyInfo proxyInfoObj = new ProxyInfo( ProxyInfo.ProxyType.HTTP, - httpProxy.getAddress().getHostAddress(), + httpProxy.getHostName(), httpProxy.getPort(), "", ""); provider.useProxy(proxyInfoObj); }