Skip to content

Commit a2cf1f6

Browse files
committed
#370 WxMpServiceOkHttpImpl改用httpProxy
1 parent d52a55f commit a2cf1f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

weixin-java-mp/src/main/java/me/chanjar/weixin/mp/api/impl/WxMpServiceOkHttpImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public void initHttp() {
6767
WxMpConfigStorage configStorage = this.getWxMpConfigStorage();
6868

6969
if (configStorage.getHttpProxyHost() != null && configStorage.getHttpProxyPort() > 0) {
70-
httpProxy = OkHttpProxyInfo.socks5Proxy(configStorage.getHttpProxyHost(), configStorage.getHttpProxyPort(), configStorage.getHttpProxyUsername(), configStorage.getHttpProxyPassword());
70+
httpProxy = OkHttpProxyInfo.httpProxy(configStorage.getHttpProxyHost(), configStorage.getHttpProxyPort(), configStorage.getHttpProxyUsername(), configStorage.getHttpProxyPassword());
7171
}
7272
OkHttpClient.Builder clientBuilder = new OkHttpClient.Builder();
7373
//设置代理

0 commit comments

Comments
 (0)