debug ajm问题
This commit is contained in:
parent
949a91de20
commit
a5df52bb8e
@ -334,7 +334,7 @@ public class NxJeDeviceServiceImpl extends ServiceImpl<NxJeDeviceDao, NxJeDevice
|
||||
request.header("Content-Type", "application/json");
|
||||
HttpResponse response = request.execute();
|
||||
String result = response.body();
|
||||
log.info("平台实时工况接口返回数据:{}", result);
|
||||
log.info("deviceid:{}-----modelid:{}平台实时工况接口返回数据:{}",deviceId,jeDeviceEntity.getModelId(), result);
|
||||
JSONObject jsonObject = JSONObject.parseObject(result);
|
||||
JSONArray array = jsonObject.getJSONArray("payload");
|
||||
|
||||
@ -354,7 +354,7 @@ public class NxJeDeviceServiceImpl extends ServiceImpl<NxJeDeviceDao, NxJeDevice
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
log.error("调用平台查询实时工况信息error", e);
|
||||
log.error("{}调用平台查询实时工况信息error{}",deviceId,e.getMessage());
|
||||
}
|
||||
return resultMap;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user