mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update
This commit is contained in:
parent
869a6a920b
commit
2d58744de4
@ -22,7 +22,7 @@ class ServerController extends Controller
|
|||||||
}
|
}
|
||||||
$server[$i]['group_id'] = json_decode($server[$i]['group_id']);
|
$server[$i]['group_id'] = json_decode($server[$i]['group_id']);
|
||||||
if ($server[$i]['parent_id']) {
|
if ($server[$i]['parent_id']) {
|
||||||
Redis::get('server_last_check_at_' . $server[$i]['parent_id']);
|
$server[$i]['last_check_at'] = Redis::get('server_last_check_at_' . $server[$i]['parent_id']);
|
||||||
} else {
|
} else {
|
||||||
$server[$i]['last_check_at'] = Redis::get('server_last_check_at_' . $server[$i]['id']);
|
$server[$i]['last_check_at'] = Redis::get('server_last_check_at_' . $server[$i]['id']);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user