mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-14 11:20:53 +08:00
pref: Enhance TrafficFetch Performance and Optimize Code Structure
This commit is contained in:
@@ -196,7 +196,7 @@ class ServerService
|
||||
// 获取可用的用户列表
|
||||
public static function getAvailableUsers($groupId): Collection
|
||||
{
|
||||
return \DB::table('v2_user')
|
||||
return User::toBase()
|
||||
->whereIn('group_id', $groupId)
|
||||
->whereRaw('u + d < transfer_enable')
|
||||
->where(function ($query) {
|
||||
|
||||
Reference in New Issue
Block a user