|
...
|
...
|
@@ -291,10 +291,11 @@ class WebTrafficSpecial extends Command |
|
|
|
->leftJoin('gl_project_online_check as poc', 'poc.project_id', '=', 'gl_project.id')
|
|
|
|
->where('pdo.domain', '>', 0)
|
|
|
|
->where('poc.qa_status', OnlineCheck::STATUS_ONLINE_TRUE)
|
|
|
|
->whereIn('gl_project.type', [Project::TYPE_TWO, Project::TYPE_FOUR])
|
|
|
|
->where('gl_project.type', Project::TYPE_TWO)
|
|
|
|
->where('gl_project.is_upgrade', 0) //非升级项目
|
|
|
|
->where('gl_project.main_lang_id', '<>', $ru_lang_id) //非俄语站
|
|
|
|
->whereIn('gl_project.id', array_keys($projects))
|
|
|
|
->WhereRaw("NOT FIND_IN_SET(2, `level`)") //非暂停优化
|
|
|
|
->select(['pdo.project_id','gl_project.main_lang_id','gl_project.id'])->forPage($page, 500)->orderBy('project_id')->get();
|
|
|
|
//其他地方在引流的域名
|
|
|
|
// $other = DB::connection('projects_mysql')->table('projects')->where('switch', 1)->pluck('domain')->toArray();
|
...
|
...
|
|