正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -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 |
-
请 注册 或 登录 后发表评论