作者 赵彬吉

update

@@ -316,7 +316,7 @@ class WebTraffic extends Command @@ -316,7 +316,7 @@ class WebTraffic extends Command
316 $startTime = Carbon::now()->addMonths(-9)->startOfDay()->toDateTimeString(); 316 $startTime = Carbon::now()->addMonths(-9)->startOfDay()->toDateTimeString();
317 $query->where('pdo.start_date', '<', $startTime); 317 $query->where('pdo.start_date', '<', $startTime);
318 } 318 }
319 - })->select(['pdo.project_id','gl_project.main_lang_id','gl_project.id'])->forPage($page, 500)->dd(); 319 + })->select(['pdo.project_id','gl_project.main_lang_id','gl_project.id'])->forPage($page, 500)->get();
320 //其他地方在引流的域名 320 //其他地方在引流的域名
321 $other = DB::connection('projects_mysql')->table('projects')->where('switch', 1)->pluck('domain')->toArray(); 321 $other = DB::connection('projects_mysql')->table('projects')->where('switch', 1)->pluck('domain')->toArray();
322 $data = []; 322 $data = [];