正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -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){ |
-
请 注册 或 登录 后发表评论