作者 李宇航

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

gx



查看合并请求 !2524
@@ -255,7 +255,11 @@ class OptimizeController extends BaseController @@ -255,7 +255,11 @@ 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 - $query = $query->where('gl_project_deploy_build.seo_plan',$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{
  261 + $query = $query->where('gl_project_deploy_build.seo_plan',$this->map['seo_plan']);
  262 + }
259 } 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']);