diff --git a/app/Http/Controllers/Api/ProjectController.php b/app/Http/Controllers/Api/ProjectController.php index ca3e9f5f6..80a40d4b0 100755 --- a/app/Http/Controllers/Api/ProjectController.php +++ b/app/Http/Controllers/Api/ProjectController.php @@ -344,6 +344,10 @@ public function user() $userid = Request::input('userid'); $userid = is_array($userid) ? $userid : [$userid]; // + if (count($userid) > 100) { + return Base::retError('项目人数最多100个'); + } + // $project = Project::userProject($project_id, true, true); // $deleteUser = AbstractModel::transaction(function() use ($project, $userid) {