From a1862cae8e48910f5a9e4944f78b21bdba7ff402 Mon Sep 17 00:00:00 2001 From: ZZ Date: Thu, 18 Nov 2021 18:04:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=B0=E4=B8=89=E6=96=B9opid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/xhpc/evcs/notification/CoreDispatcher.java | 1 - .../xhpc/evcs/notification/NotificationStationStatusTask.java | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/evcs-modules/evcs-core/src/main/java/com/xhpc/evcs/notification/CoreDispatcher.java b/evcs-modules/evcs-core/src/main/java/com/xhpc/evcs/notification/CoreDispatcher.java index f007a565..9f01e940 100644 --- a/evcs-modules/evcs-core/src/main/java/com/xhpc/evcs/notification/CoreDispatcher.java +++ b/evcs-modules/evcs-core/src/main/java/com/xhpc/evcs/notification/CoreDispatcher.java @@ -75,7 +75,6 @@ public class CoreDispatcher { tokenRequest.setOperatorSecret(authSecretTokenOut.getOperatorSecret()); commonRequest.setData(JSONUtil.toJSONString(tokenRequest)); tData = JSONUtil.toJSONString(commonRequest); - log.debug(tData); if (authSecretTokenOut.isEncrypt()) { tData = encryptReqOut(authSecretTokenOut.getDataSecret(), authSecretTokenOut.getDataSecretIV(), authSecretTokenOut.getSigSecret(), commonRequest); diff --git a/evcs-modules/evcs-core/src/main/java/com/xhpc/evcs/notification/NotificationStationStatusTask.java b/evcs-modules/evcs-core/src/main/java/com/xhpc/evcs/notification/NotificationStationStatusTask.java index 670d38c5..eab4941c 100644 --- a/evcs-modules/evcs-core/src/main/java/com/xhpc/evcs/notification/NotificationStationStatusTask.java +++ b/evcs-modules/evcs-core/src/main/java/com/xhpc/evcs/notification/NotificationStationStatusTask.java @@ -108,8 +108,8 @@ public class NotificationStationStatusTask extends CoreDispatcher { String responseBody = ok(commonRequest, "/notification_stationStatus", authSecretTokenOut); EvcsStatus status = DTOJsonHelper.parseResponseData(responseBody, EvcsStatus.class, authSecretTokenOut); if (status == null || status.getStatus() != 0) { - log.error(String.format("op3dp[{}] push station status connector[%s] failed: %s", - authSecretTokenOut.getOperatorId3irdpty(), connectorStatusInfo.getConnectorID(), responseBody)); + log.error("op3dp[{}] push station status connector[{}] failed: {}", + authSecretTokenOut.getOperatorId3irdpty(), connectorStatusInfo.getConnectorID(), responseBody); } return status; }