服务器列表顺序取消修改
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
* @Author: kangkang
|
||||
* @Date: 2020-11-03 11:04:15
|
||||
* @LastEditors: “wanyongkang” “937888580@qq.com”
|
||||
* @LastEditTime: 2023-10-23 16:58:20
|
||||
* @LastEditTime: 2023-10-23 17:17:09
|
||||
*/
|
||||
$is_script = 1;
|
||||
include_once __DIR__ . '/../../index.php';
|
||||
@@ -619,6 +619,11 @@ function jike_getList($data, &$file, &$all, $exit, $is_jike = true)
|
||||
$list1[$key][] = $record;
|
||||
}
|
||||
foreach ($list1 as $val) {
|
||||
$temp = $val[0];
|
||||
unset($val[0]);
|
||||
$sort = array_column($val,'city');
|
||||
array_multisort($sort,SORT_ASC,$val);
|
||||
array_unshift($val,$temp);
|
||||
foreach ($val as $net_data) {
|
||||
|
||||
fputcsv($file, $net_data);
|
||||
|
||||
Reference in New Issue
Block a user