作者 zhl

u

... ... @@ -582,7 +582,7 @@ class ProjectController extends BaseController
if(!$channel){
$this->response('渠道不存在',Code::SYSTEM_ERROR);
}
if ($id)
if ($id && FALSE == is_array($id))
$id = explode(',', $id);
$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){
... ...