|
@@ -255,8 +255,12 @@ class OptimizeController extends BaseController |
|
@@ -255,8 +255,12 @@ class OptimizeController extends BaseController |
|
255
|
$query = $query->where('gl_project.site_status',$this->map['site_status']);
|
255
|
$query = $query->where('gl_project.site_status',$this->map['site_status']);
|
|
256
|
}
|
256
|
}
|
|
257
|
if(isset($this->map['seo_plan'])){
|
257
|
if(isset($this->map['seo_plan'])){
|
|
|
|
258
|
+ if(is_array($this->map['seo_plan'])){
|
|
|
|
259
|
+ $query = $query->whereIn('gl_project_deploy_build.seo_plan',$this->map['seo_plan']);
|
|
|
|
260
|
+ }else{
|
|
258
|
$query = $query->where('gl_project_deploy_build.seo_plan',$this->map['seo_plan']);
|
261
|
$query = $query->where('gl_project_deploy_build.seo_plan',$this->map['seo_plan']);
|
|
259
|
}
|
262
|
}
|
|
|
|
263
|
+ }
|
|
260
|
if(isset($this->map['main_lang_id'])){
|
264
|
if(isset($this->map['main_lang_id'])){
|
|
261
|
$query = $query->where('gl_project.main_lang_id',$this->map['main_lang_id']);
|
265
|
$query = $query->where('gl_project.main_lang_id',$this->map['main_lang_id']);
|
|
262
|
}
|
266
|
}
|