Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
SooonerHotel
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴贤德
SooonerHotel
Commits
6833ce40
Commit
6833ce40
authored
5 years ago
by
吴贤德
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
监控详情页增加汇报时间显示
parent
606496f7
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
MonitorAction.class.php
SooonerHotel/App/Lib/Action/Api/MonitorAction.class.php
+5
-2
No files found.
SooonerHotel/App/Lib/Action/Api/MonitorAction.class.php
View file @
6833ce40
...
...
@@ -138,9 +138,12 @@ class MonitorAction extends Action
// str_replace("world","Shanghai","Hello world!");
foreach
(
$Devices
as
$k
=>
&
$device
)
{
$mDinfo
=
json_decode
(
$mDeviceData
[
$k
]);
//设备监控信息
$mSinfo
=
json_decode
(
$mServiceData
[
$k
]);
//设备监控信息
$device
[
"设备监控信息"
]
=
json_decode
(
$mDeviceData
[
$k
]);
//设备监控信息
$device
[
"服务监控信息"
]
=
json_decode
(
$mServiceData
[
$k
]);
//设备监控信息
$device
[
"服务汇报时间"
]
=
date
(
"Y-m-d H:i:s"
,
$mSinfo
->
t
);
$device
[
"设备监控信息"
]
=
$mDinfo
;
//设备监控信息
$device
[
"服务监控信息"
]
=
$mSinfo
;
//设备监控信息
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment