fix: 微信小程序接口对接,测试问题修复。

This commit is contained in:
tianyongbao
2026-01-12 18:47:11 +08:00
parent 38ba328966
commit a41248e405
22 changed files with 2060 additions and 202 deletions

View File

@@ -132,6 +132,13 @@ public class IotDeviceServiceImpl implements IotDeviceService {
Map<String, Object> result = new HashMap<>();
result.put("success", response.getSuccess());
result.put("data", response.getData());
result.put("errorMessage", response.getErrorMessage());
result.put("code", response.getCode());
if (!response.getSuccess()) {
log.error("设置设备属性失败Code: {}, ErrorMessage: {}", response.getCode(), response.getErrorMessage());
}
return result;
}