diff --git a/Application/Admin/Controller/PlatformController.class.php b/Application/Admin/Controller/PlatformController.class.php index fdeba708f..aa14a7154 100644 --- a/Application/Admin/Controller/PlatformController.class.php +++ b/Application/Admin/Controller/PlatformController.class.php @@ -734,6 +734,9 @@ class PlatformController extends ThinkController array_push($data, $authorityData); } + //数据排序 + $last_names = array_column($data,'count'); + array_multisort($last_names,SORT_DESC,$data); $count = count($data); foreach ($data as $key => $value) {