mirror of
https://gitee.com/egzosn/pay-java-parent.git
synced 2026-05-09 04:25:54 +08:00
网络配置,空判断。
This commit is contained in:
@@ -329,7 +329,7 @@ public class HttpRequestTemplate {
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug(String.format("uri:%s, httpMethod:%s ", uri, method.name()));
|
||||
}
|
||||
ClientHttpRequest<T> httpRequest = new ClientHttpRequest(uri ,method, request, configStorage.getCharset());
|
||||
ClientHttpRequest<T> httpRequest = new ClientHttpRequest(uri ,method, request, null == configStorage ? null : configStorage.getCharset());
|
||||
//判断是否有代理设置
|
||||
if (null == httpProxy){
|
||||
httpRequest.setProxy(httpProxy);
|
||||
|
||||
Reference in New Issue
Block a user