mirror of
https://gitee.com/egzosn/pay-java-parent.git
synced 2026-05-18 22:26:19 +08:00
请求工具优化
This commit is contained in:
@@ -189,7 +189,7 @@ public class HttpRequestTemplate {
|
||||
public HttpRequestTemplate setHttpConfigStorage(HttpConfigStorage configStorage) {
|
||||
this.configStorage = configStorage;
|
||||
|
||||
if (StringUtils.isNotBlank(configStorage.getHttpProxyHost())) {
|
||||
if (null != configStorage && StringUtils.isNotBlank(configStorage.getHttpProxyHost())) {
|
||||
//http代理地址设置
|
||||
httpProxy = new HttpHost(configStorage.getHttpProxyHost(),configStorage.httpProxyPort);;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user