mirror of
https://gitee.com/egzosn/pay-java-parent.git
synced 2026-05-17 20:18:25 +08:00
请求代理
This commit is contained in:
@@ -332,7 +332,7 @@ public class HttpRequestTemplate {
|
||||
}
|
||||
ClientHttpRequest<T> httpRequest = new ClientHttpRequest(uri ,method, request, null == configStorage ? null : configStorage.getCharset());
|
||||
//判断是否有代理设置
|
||||
if (null == httpProxy){
|
||||
if (null != httpProxy){
|
||||
httpRequest.setProxy(httpProxy);
|
||||
}
|
||||
httpRequest.setResponseType(responseType);
|
||||
|
||||
Reference in New Issue
Block a user