作者 lyh

gx

@@ -74,7 +74,7 @@ class UpgradeProjectCount extends Command @@ -74,7 +74,7 @@ class UpgradeProjectCount extends Command
74 ->whereDate('updated_date', $day)->where('inquiry_num',1) 74 ->whereDate('updated_date', $day)->where('inquiry_num',1)
75 ->select('country', DB::raw('COUNT(*) as count')) 75 ->select('country', DB::raw('COUNT(*) as count'))
76 ->groupBy('country') 76 ->groupBy('country')
77 - ->orderByDesc('count')->limit(20)->get()->toArray(); 77 + ->orderByDesc('count')->limit(20)->get();
78 echo date('Y-m-d H:i:s') . '时间:'.json_encode($country) . PHP_EOL; 78 echo date('Y-m-d H:i:s') . '时间:'.json_encode($country) . PHP_EOL;
79 } 79 }
80 80