mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-01-22 10:38:14 -05:00
fix: 修复今日节点实时流量排行超过15个排序变乱的问题
This commit is contained in:
parent
7246eb6ebc
commit
2c5f610ed0
@ -126,7 +126,7 @@ class StatController extends Controller
|
||||
}
|
||||
array_multisort(array_column($statistics, 'total'), SORT_DESC, $statistics);
|
||||
return [
|
||||
'data' => $statistics
|
||||
'data' => collect($statistics)->take(15)->all()
|
||||
];
|
||||
}
|
||||
// 获取昨日节点流量排行
|
||||
|
Loading…
Reference in New Issue
Block a user