mirror of
https://github.com/v2board/v2board.git
synced 2025-06-12 20:47:56 +08:00
update: sort leave alert
This commit is contained in:
@ -358,4 +358,17 @@ class ServerService
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public function getAllServers()
|
||||
{
|
||||
$servers = array_merge(
|
||||
$this->getShadowsocksServers(),
|
||||
$this->getV2rayServers(),
|
||||
$this->getTrojanServers()
|
||||
);
|
||||
$this->mergeData($servers);
|
||||
$tmp = array_column($servers, 'sort');
|
||||
array_multisort($tmp, SORT_ASC, $servers);
|
||||
return $servers;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user