fix: httpclient 在请求后会在final中进行关闭,导致无法再次请求

This commit is contained in:
Chopper711 2023-03-10 09:37:11 +08:00
parent f6030cc918
commit ccac5226d5

View File

@ -183,7 +183,6 @@ public class HttpClientUtils {
if (response != null) { if (response != null) {
response.close(); response.close();
} }
httpClient.close();
} catch (IOException e) { } catch (IOException e) {
log.error("Get错误", e); log.error("Get错误", e);
} }