Commit 93984b04 by huluobin

OkHttpUtil 超时配置

parent 46a9520f
...@@ -44,7 +44,6 @@ public class SyncCostFirstJob extends PointJob { ...@@ -44,7 +44,6 @@ public class SyncCostFirstJob extends PointJob {
.get() .get()
.addHeader("Content-Type", "application/json") .addHeader("Content-Type", "application/json")
.addHeader("cache-control", "no-cache") .addHeader("cache-control", "no-cache")
// .addHeader("Connection", "keep-alive")
.build(); .build();
Response response = null; Response response = null;
String result; String result;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment