From be0fcc6e8bf152a3fa77d26f26b0ad9d2d1c5cf7 Mon Sep 17 00:00:00 2001 From: YeungHoiChiu <1005935991@qq.com> Date: Wed, 4 Sep 2024 21:41:25 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=94=AF=E6=8C=81=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E5=85=83=E7=B4=A0=E6=8E=A7=E4=BB=B6=E5=89=8D=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E4=BA=8B=E4=BB=B6--=E4=BF=AE=E5=A4=8Ddebug?= =?UTF-8?q?=E6=8E=A7=E4=BB=B6=E6=97=B6=EF=BC=8C=E6=97=A5=E5=BF=97=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E6=8E=A7=E4=BB=B6=E5=90=8D=E7=A7=B0=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/cloud/sonic/controller/transport/TransportServer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sonic-server-controller/src/main/java/org/cloud/sonic/controller/transport/TransportServer.java b/sonic-server-controller/src/main/java/org/cloud/sonic/controller/transport/TransportServer.java index b2d0c2a1..a6e96a63 100644 --- a/sonic-server-controller/src/main/java/org/cloud/sonic/controller/transport/TransportServer.java +++ b/sonic-server-controller/src/main/java/org/cloud/sonic/controller/transport/TransportServer.java @@ -193,7 +193,8 @@ private JSONObject generateStep(JSONObject jsonMsg, String msg) { StepsDTO stepsDTO = new StepsDTO(); ElementsDTO elementsDTO = new ElementsDTO(); elementsDTO.setEleType(jsonMsg.getString("eleType")) - .setEleValue(jsonMsg.getString("element")); + .setEleValue(jsonMsg.getString("element")) + .setEleName("定位控件测试"); List elements = new ArrayList<>(); elements.add(elementsDTO); String stepType = jsonMsg.getString("eleType").equals("point") ? "tap" : "click";