From 95d91102fc02ba54386ffa664740061913afb956 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=85=B4=E7=90=B3?= <1911390090@qq.com> Date: Tue, 9 Jul 2024 11:08:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E6=94=B6=E8=B4=B9=E7=AB=99?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E8=B6=85=E6=97=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/DcTrafficStatisticsServiceImpl.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/zc-business/src/main/java/com/zc/business/service/impl/DcTrafficStatisticsServiceImpl.java b/zc-business/src/main/java/com/zc/business/service/impl/DcTrafficStatisticsServiceImpl.java index 78e7b9fb..59c03c8d 100644 --- a/zc-business/src/main/java/com/zc/business/service/impl/DcTrafficStatisticsServiceImpl.java +++ b/zc-business/src/main/java/com/zc/business/service/impl/DcTrafficStatisticsServiceImpl.java @@ -187,7 +187,7 @@ public class DcTrafficStatisticsServiceImpl implements IDcTrafficStatisticsServi */ @Override public JSONArray vehiclesInTransit() throws HttpException, IOException { - OkHttp okHttp = new OkHttp(20); + OkHttp okHttp = new OkHttp(8); RequestParams requestParams = new RequestParams(); @@ -678,7 +678,7 @@ public class DcTrafficStatisticsServiceImpl implements IDcTrafficStatisticsServi */ @Override public List> trafficFlowAtTollStationEntrance(String startDate, String endDate, String stationType) throws HttpException, IOException { - OkHttp okHttp = new OkHttp(20); + OkHttp okHttp = new OkHttp(); RequestParams requestParams = new RequestParams(); @@ -750,7 +750,7 @@ public class DcTrafficStatisticsServiceImpl implements IDcTrafficStatisticsServi @Override public JSONArray trafficFlowAtTollStationEntranceHour(String startDate, String endDate, String stationType) throws HttpException, IOException { - OkHttp okHttp = new OkHttp(15); + OkHttp okHttp = new OkHttp(); RequestParams requestParams = new RequestParams(); @@ -800,7 +800,7 @@ public class DcTrafficStatisticsServiceImpl implements IDcTrafficStatisticsServi LocalDate oneYearAgo = currentDate.minusYears(UniversalEnum.ONE.getNumber()); String lastYear = oneYearAgo.format(formatter); - OkHttp okHttp = new OkHttp(20); + OkHttp okHttp = new OkHttp(); RequestParams requestParams = new RequestParams(); requestParams.put("sysid", sysid); //求情地址 startDate 时间 @@ -1147,7 +1147,7 @@ public class DcTrafficStatisticsServiceImpl implements IDcTrafficStatisticsServi } private Response getResponseTrafficFlowAtToll(String startDate, String stationType) throws HttpException, IOException { - OkHttp okHttp = new OkHttp(20); + OkHttp okHttp = new OkHttp(); RequestParams requestParams = new RequestParams();