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