作者 lyh

gx

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