562935844@qq.com
2024-06-28 6d908915d558ec457db8a50b03ed8746f4e73a48
HDLSDK/hdl-connect/src/main/java/com/hdl/sdk/connect/protocol/LinkMessageDecoder.java
@@ -314,6 +314,7 @@
                if (encrypt(body)) {
                    //需要解密
                    if (!TextUtils.isEmpty(HDLLinkConfig.getInstance().getLocalSecret())) {
                    byte[] bodyBytes = AesUtil.aesDecrypt(body, HDLLinkConfig.getInstance().getLocalSecret());
                    if (bodyBytes != null) {
                        response.setData(new String(bodyBytes, StandardCharsets.UTF_8));
@@ -322,6 +323,7 @@
                        response.setData(new String(body, "utf-8"));
                        continue;
                    }
                    }
                } else {
                    response.setData(new String(body, "utf-8"));
                }