Commit 6833ce40 authored by 吴贤德's avatar 吴贤德

监控详情页增加汇报时间显示

parent 606496f7
...@@ -138,9 +138,12 @@ class MonitorAction extends Action ...@@ -138,9 +138,12 @@ class MonitorAction extends Action
// str_replace("world","Shanghai","Hello world!"); // str_replace("world","Shanghai","Hello world!");
foreach ($Devices as $k => &$device) { foreach ($Devices as $k => &$device) {
$mDinfo=json_decode($mDeviceData[$k]); //设备监控信息
$mSinfo=json_decode($mServiceData[$k]); //设备监控信息
$device["设备监控信息"] = json_decode($mDeviceData[$k]); //设备监控信息 $device["服务汇报时间"] = date( "Y-m-d H:i:s",$mSinfo->t);
$device["服务监控信息"] = json_decode($mServiceData[$k]); //设备监控信息 $device["设备监控信息"] = $mDinfo; //设备监控信息
$device["服务监控信息"] = $mSinfo; //设备监控信息
} }
......
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 to comment