From 7ef5cfe0cfd7359508877e4a2a9b777c49a2ab3d Mon Sep 17 00:00:00 2001 From: wenc000 <450292408@qq.com> Date: Wed, 5 Aug 2020 22:48:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E7=AB=AF=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../socket/service/socket/exception/ExceptionServiceImpl.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cloud-central-control-client/src/main/java/com/cm/central/control/client/socket/service/socket/exception/ExceptionServiceImpl.java b/cloud-central-control-client/src/main/java/com/cm/central/control/client/socket/service/socket/exception/ExceptionServiceImpl.java index 0ce9cc6..de41572 100644 --- a/cloud-central-control-client/src/main/java/com/cm/central/control/client/socket/service/socket/exception/ExceptionServiceImpl.java +++ b/cloud-central-control-client/src/main/java/com/cm/central/control/client/socket/service/socket/exception/ExceptionServiceImpl.java @@ -60,8 +60,7 @@ public class ExceptionServiceImpl extends BaseSocketService { message.setStart(SocketTypeMessageEnum.MESSAGE_TYPE_START.getType()); message.setType(SocketTypeMessageEnum.MESSAGE_TYPE_EXCEPTION.getType()); message.setToken(socketClientManager.getToken()); - JSONObject.toJSONString(successResult(exceptionJSONObject)); - message.setContent(exceptionJSONObject.toString()); + message.setContent(JSONObject.toJSONString(successResult(exceptionJSONObject))); socketClientManager.getChannel().writeAndFlush(message); }