This commit is contained in:
chenbo 2024-02-20 15:22:33 +08:00
parent ba9844d3c5
commit 6e38198c21
1 changed files with 2 additions and 2 deletions

View File

@ -118,8 +118,8 @@ class RemoteRequestLogic extends BaseLogic
foreach ($temp['values'][4] as $key => $value) {
$device['alarm_value'] = $value;
$device['alarm_time'] = date('Y-m-d H:i:s', $temp['timestamps'][$key]/1000);
$device['alarm_reason'] = $temp['values'][0][$key]; // todo 对接接口字段
$device['alarm_resolution'] = $temp['values'][2][$key]; // todo 对接接口字段
$device['alarm_reason'] = $temp['values'][0][$key];
$device['alarm_resolution'] = $temp['values'][2][$key];
$list[] = $device;
}