Commit a6b2acac by huangjy

fix:设备写入失败提示语

parent 756e8dd7
...@@ -91,7 +91,7 @@ public class IotDevicePropertiesOperateService extends IotCommonService { ...@@ -91,7 +91,7 @@ public class IotDevicePropertiesOperateService extends IotCommonService {
ResponseMessage responseMessage = sendPut(url, request); ResponseMessage responseMessage = sendPut(url, request);
log.info("写入设备属性信息,返回信息:{}", responseMessage.getMessage()); log.info("写入设备属性信息,返回信息:{}", responseMessage.getMessage());
if (responseMessage.getStatus() != 200) { if (responseMessage.getStatus() != 200) {
String errorMsg = "设备:" + deviceId + ",属性:" + entry.getKey() + "写入失败:" + responseMessage.getMessage(); String errorMsg = responseMessage.getMessage();
log.error("设备写入失败:{}",errorMsg); log.error("设备写入失败:{}",errorMsg);
return errorMsg; return errorMsg;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment