作者 zhl

u

@@ -582,8 +582,8 @@ class ProjectController extends BaseController @@ -582,8 +582,8 @@ 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 (empty($id) || FALSE == is_array($id))  
586 - $id = []; 585 + if ($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){
589 if ($type) { 589 if ($type) {