From 641b392b1197b27eeeedc5f38d834376fe6e0193 Mon Sep 17 00:00:00 2001 From: chenjiahe <763432473@qq.com> Date: 星期三, 19 一月 2022 17:28:28 +0800 Subject: [PATCH] 优化工具 --- src/main/java/com/platform/util/HttpPlatformUtil.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/platform/util/HttpPlatformUtil.java b/src/main/java/com/platform/util/HttpPlatformUtil.java index f676fd4..628d404 100644 --- a/src/main/java/com/platform/util/HttpPlatformUtil.java +++ b/src/main/java/com/platform/util/HttpPlatformUtil.java @@ -46,7 +46,7 @@ con.setDoOutput(true); con.setDoInput(true); con.setUseCaches(false); - con.setReadTimeout(5000); + con.setReadTimeout(60000); con.setRequestProperty("Charset", "UTF-8"); con.setRequestProperty("Content-Type", "application/json"); if(header != null){ -- Gitblit v1.8.0