mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update
This commit is contained in:
parent
c82a189d76
commit
869a6a920b
@ -29,7 +29,7 @@ class ServerController extends Controller {
|
|||||||
for ($i = 0; $i < count($server); $i++) {
|
for ($i = 0; $i < count($server); $i++) {
|
||||||
$server[$i]['link'] = Helper::buildVmessLink($server[$i], $user);
|
$server[$i]['link'] = Helper::buildVmessLink($server[$i], $user);
|
||||||
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