作者 lyh
@@ -310,7 +310,7 @@ class WebTraffic extends Command @@ -310,7 +310,7 @@ class WebTraffic extends Command
310 $startTime = Carbon::now()->addMonths(-9)->startOfDay()->toDateTimeString(); 310 $startTime = Carbon::now()->addMonths(-9)->startOfDay()->toDateTimeString();
311 $query->where('pdo.start_date', '<', $startTime); 311 $query->where('pdo.start_date', '<', $startTime);
312 } 312 }
313 - })->select(['pdo.project_id','gl_project.main_lang_id'])->forPage($page, 500)->get(); 313 + })->select(['pdo.project_id','gl_project.main_lang_id','gl_project.id'])->forPage($page, 500)->get();
314 //其他地方在引流的域名 314 //其他地方在引流的域名
315 $other = DB::connection('projects_mysql')->table('projects')->where('switch', 1)->pluck('domain')->toArray(); 315 $other = DB::connection('projects_mysql')->table('projects')->where('switch', 1)->pluck('domain')->toArray();
316 $data = []; 316 $data = [];
@@ -346,7 +346,7 @@ class WebTrafficRussia extends Command @@ -346,7 +346,7 @@ class WebTrafficRussia extends Command
346 $startTime = Carbon::now()->addMonths(-9)->startOfDay()->toDateTimeString(); 346 $startTime = Carbon::now()->addMonths(-9)->startOfDay()->toDateTimeString();
347 $query->where('pdo.start_date', '<', $startTime); 347 $query->where('pdo.start_date', '<', $startTime);
348 } 348 }
349 - })->select(['pdo.project_id','gl_project.main_lang_id'])->forPage($page, 500)->get(); 349 + })->select(['pdo.project_id','gl_project.main_lang_id','gl_project.id'])->forPage($page, 500)->get();
350 //其他地方在引流的域名 350 //其他地方在引流的域名
351 $other = DB::connection('projects_mysql')->table('projects')->where('switch', 1)->pluck('domain')->toArray(); 351 $other = DB::connection('projects_mysql')->table('projects')->where('switch', 1)->pluck('domain')->toArray();
352 $data = []; 352 $data = [];