作者 zhl

u

@@ -582,7 +582,7 @@ class ProjectController extends BaseController @@ -582,7 +582,7 @@ class ProjectController extends BaseController
582 if(!$channel){ 582 if(!$channel){
583 $this->response('渠道不存在',Code::SYSTEM_ERROR); 583 $this->response('渠道不存在',Code::SYSTEM_ERROR);
584 } 584 }
585 - if ($id) 585 + if ($id && FALSE == is_array($id))
586 $id = explode(',', $id); 586 $id = explode(',', $id);
587 587
588 $data = Project::with(['deploy_build', 'deploy_optimize', 'online_check'])->where(['channel->channel_id' => $channel->id, 'delete_status' => 0])->where(function ($query) use ($type, $company, $id){ 588 $data = Project::with(['deploy_build', 'deploy_optimize', 'online_check'])->where(['channel->channel_id' => $channel->id, 'delete_status' => 0])->where(function ($query) use ($type, $company, $id){