no message
This commit is contained in:
parent
fe55110893
commit
685d7ea8f5
@ -60,9 +60,9 @@ final class CountrySpeedService
|
||||
//// 速度
|
||||
$iNodeSpeed = rand(config("freenode.speed_min"), config("freenode.speed_max"));
|
||||
|
||||
$oFnp = FreenodePool::whereDate('date', date("Y-m-d"))->first() ?? "[]";
|
||||
$aFnpContent = json_decode($oFnp->content, true);
|
||||
$iNodeCount = count($aFnpContent["v2ray"]) ?? rand(30, 98);
|
||||
$oFnp = FreenodePool::whereDate('date', date("Y-m-d"))->first();
|
||||
$aFnpContent = json_decode($oFnp->content ?? '[]', true); // 有问题吗
|
||||
$iNodeCount = count($aFnpContent["v2ray"] ?? []) ?? rand(30, 98);
|
||||
// $iNodeCount = rand(config("freenode.count_min"), config("freenode.count_max"));
|
||||
|
||||
$sContent = "本次更新共".$iNodeCount."个可用节点,最高速度".$iNodeSpeed."M/S。
|
||||
|
||||
Loading…
Reference in New Issue
Block a user