mirror of
https://github.com/v2board/v2board.git
synced 2025-01-11 00:29:09 +08:00
update: server service
This commit is contained in:
parent
766d1193c7
commit
60b6a6177d
@ -36,8 +36,8 @@ class ServerService
|
|||||||
} else {
|
} else {
|
||||||
$v2ray[$i]['last_check_at'] = Cache::get(CacheKey::get('SERVER_V2RAY_LAST_CHECK_AT', $v2ray[$i]['id']));
|
$v2ray[$i]['last_check_at'] = Cache::get(CacheKey::get('SERVER_V2RAY_LAST_CHECK_AT', $v2ray[$i]['id']));
|
||||||
}
|
}
|
||||||
|
array_push($servers, $v2ray[$i]->toArray());
|
||||||
}
|
}
|
||||||
array_push($servers, $v2ray[$i]->toArray());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -64,8 +64,8 @@ class ServerService
|
|||||||
} else {
|
} else {
|
||||||
$trojan[$i]['last_check_at'] = Cache::get(CacheKey::get('SERVER_TROJAN_LAST_CHECK_AT', $trojan[$i]['id']));
|
$trojan[$i]['last_check_at'] = Cache::get(CacheKey::get('SERVER_TROJAN_LAST_CHECK_AT', $trojan[$i]['id']));
|
||||||
}
|
}
|
||||||
|
array_push($servers, $trojan[$i]->toArray());
|
||||||
}
|
}
|
||||||
array_push($servers, $trojan[$i]->toArray());
|
|
||||||
}
|
}
|
||||||
return $servers;
|
return $servers;
|
||||||
}
|
}
|
||||||
@ -90,8 +90,8 @@ class ServerService
|
|||||||
} else {
|
} else {
|
||||||
$shadowsocks[$i]['last_check_at'] = Cache::get(CacheKey::get('SERVER_SHADOWSOCKS_LAST_CHECK_AT', $shadowsocks[$i]['id']));
|
$shadowsocks[$i]['last_check_at'] = Cache::get(CacheKey::get('SERVER_SHADOWSOCKS_LAST_CHECK_AT', $shadowsocks[$i]['id']));
|
||||||
}
|
}
|
||||||
|
array_push($servers, $shadowsocks[$i]->toArray());
|
||||||
}
|
}
|
||||||
array_push($servers, $shadowsocks[$i]->toArray());
|
|
||||||
}
|
}
|
||||||
return $servers;
|
return $servers;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user