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")); }