作者 lyh

gx

... ... @@ -61,7 +61,7 @@ class Yesterday extends Command
}
}
arsort($countryArr);
$top20 = array_slice($arr, 0, 20, true);
$top20 = array_slice($countryArr, 0, 20, true);
$arr['country'] = json_encode($top20);
}
$arr['date'] = $yesterday;
... ...