作者 李宇航

合并分支 'lyh-server' 到 'master'

gx



查看合并请求 !2524
... ... @@ -255,8 +255,12 @@ class OptimizeController extends BaseController
$query = $query->where('gl_project.site_status',$this->map['site_status']);
}
if(isset($this->map['seo_plan'])){
if(is_array($this->map['seo_plan'])){
$query = $query->whereIn('gl_project_deploy_build.seo_plan',$this->map['seo_plan']);
}else{
$query = $query->where('gl_project_deploy_build.seo_plan',$this->map['seo_plan']);
}
}
if(isset($this->map['main_lang_id'])){
$query = $query->where('gl_project.main_lang_id',$this->map['main_lang_id']);
}
... ...