From 3343cf9669ce44d868c54a73611b8454057fccb6 Mon Sep 17 00:00:00 2001 From: linwl <304115325@qq.com> Date: Fri, 15 Jan 2021 13:59:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E8=AF=BB=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/telpo/dipperposition/common/SocketClient.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/telpo/dipperposition/common/SocketClient.java b/src/main/java/com/telpo/dipperposition/common/SocketClient.java index 79e8e94..e07cb28 100644 --- a/src/main/java/com/telpo/dipperposition/common/SocketClient.java +++ b/src/main/java/com/telpo/dipperposition/common/SocketClient.java @@ -41,7 +41,7 @@ public class SocketClient { OutputStream os=socket.getOutputStream(); PrintWriter pw=new PrintWriter(os); // TODO 发生命令 - String info="用户名:Tom,用户密码:123456"; + //String info="用户名:Tom,用户密码:123456"; pw.write(astCmd); pw.flush(); socket.shutdownOutput(); @@ -67,6 +67,7 @@ public class SocketClient { is.close(); pw.close(); os.close(); + log.debug(ackResult); return ackResult; } catch (IOException e) { log.error("Socket sendCmd Error:" + e.getMessage());